Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

refactor: Webpack 4.x compatibility#75

Open
joshwiens wants to merge 2 commits into
masterfrom
next
Open

refactor: Webpack 4.x compatibility#75
joshwiens wants to merge 2 commits into
masterfrom
next

Conversation

@joshwiens

@joshwiens joshwiens commented Dec 21, 2017

Copy link
Copy Markdown
Member
Compatibility issues
  • N/A
Commit message body
 - Updates code style to Prettier
 - Updates engines
 - Updates peerDependencies
 - Enforces commit message formatting
 - Migrates to CircleCI 2.0
 - Removes deprecated React JSX support

BREAKING CHANGE: Drops support for NodeJS 4.x

BREAKING CHANGE: Drops support for Webpack 2.x

BREAKING CHANGE: `loaderUtils.getOptions()` is not backwards compatible

BREAKING CHANGE: JSX Support was deprecated in `v0.4.0` Please use [svg-inline-react](https://www.npmjs.com/package/svg-inline-react) package

randak and others added 2 commits December 21, 2017 00:35
 - Updates code style to Prettier
 - Updates engines
 - Updates loader-utils version
 - Updates peerDependencies
 - Enforces commit message formatting
 - Migrates to CircleCI 2.0

BREAKING CHANGE: Drops support for NodeJS 4.x

BREAKING CHANGE: Drops support for Webpack 2.x

BREAKING CHANGE: `loaderUtils.getOptions()` is not backwards compatible
Comment thread src/lib/transformer.js
function isWarningTag(warningTags, tag) {
return warningTags.includes(tag.tagName);
}
// FIXME: Due to limtation of parser, we need to implement our

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This loader is also a candidate for posthtml and the current logic implemented as posthtml-plugins instead, once I figured out what's going on here in particular :). The current code is just crazy...

@randak

randak commented Jan 2, 2018

Copy link
Copy Markdown
Contributor

@d3viant0ne Happy New Year! Do you have an estimate on when this might be released?

@randak

randak commented Jan 17, 2018

Copy link
Copy Markdown
Contributor

@d3viant0ne @michael-ciniawsky Any chance we could see a release for this this month?

Comment thread src/index.js

validateOptions(schema, options, 'SVGInlineLoader');

return `module.exports = ${JSON.stringify(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't this change to ES6 syntax?

@randak

randak commented Mar 28, 2018

Copy link
Copy Markdown
Contributor

@mernen @d3viant0ne @michael-ciniawsky Could I get a status update on this?

@randak

randak commented Apr 25, 2018

Copy link
Copy Markdown
Contributor

@bebraw @d3viant0ne @SpaceK33z @TheLarkInn Hi all, I'm not trying to be a pest, but is there anything I can do to help you get this released? Our team would really appreciate it. Thanks!

@msphn

msphn commented May 3, 2018

Copy link
Copy Markdown

@d3viant0ne did you abandon this change / project?

@randak

randak commented May 21, 2018

Copy link
Copy Markdown
Contributor

😞

@msphn

msphn commented May 21, 2018

Copy link
Copy Markdown

I migrated to https://www.npmjs.com/package/svg-url-loader and it works fine for me. In case anyone else is interested. I removed all dependency to this lib.

@elliottregan

Copy link
Copy Markdown

@msphn Thanks for the tip. Unfortunately, this loader has a lot of useful features that aren't included in that other loader (classPrefix is really important for me).

Fortunately, this still works with Webpack 4 (for me).

@dazlious

dazlious commented Jun 8, 2018

Copy link
Copy Markdown

Can I help you, to get this PR into production?

@ddx32

ddx32 commented Oct 23, 2018

Copy link
Copy Markdown

Is there any chance this could get pulled at some point? Is there any issue in the code that prevents that? Update would be very welcome in our team.

@SuneRadich

Copy link
Copy Markdown

It is sad that this PR just sits here. Any change it can be integrated in a new release?

@elliottregan

elliottregan commented Mar 14, 2019

Copy link
Copy Markdown

Is there someone over at the core Webpack team that can add someone else as a maintain to this repo? Or maybe transfer ownership if it isn't going to be maintained with the rest of Webpack?

@sokra @jhnns @TheLarkInn @SpaceK33z

@elliottregan

Copy link
Copy Markdown

⬆️ @webpack @webpack-contrib

@will-russell

Copy link
Copy Markdown

@bebraw, @TheLarkInn, @SpaceK33z - Anyone know what happened to @d3viant0ne ? His last contribution was in February?

@bebraw

bebraw commented Apr 4, 2019

Copy link
Copy Markdown

@will-russell He (amongst some other developers me included) isn't active in the project anymore.

@will-russell

Copy link
Copy Markdown

@will-russell He (amongst some other developers me included) isn't active in the project anymore.

@bebraw - thank you for the reply!

Who was left in charge of the project; do they know this is hanging out there?

RE: @TheLarkInn @SpaceK33z

@bebraw

bebraw commented Apr 4, 2019

Copy link
Copy Markdown

@will-russell I think it's up to the current contrib team to maintain. Someone show pick up the PR and merge.

CC @evilebottnawi.

@alexander-akait

Copy link
Copy Markdown
Member

In todo

@aramin

aramin commented Jun 24, 2019

Copy link
Copy Markdown

Are there any news on this issue?

@elliottregan

Copy link
Copy Markdown

🦗🦗🦗

@liorgreenb

Copy link
Copy Markdown

Also waiting for this

@codecov

codecov Bot commented Apr 10, 2020

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@d2c7218). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #75   +/-   ##
=========================================
  Coverage          ?   45.51%           
=========================================
  Files             ?        5           
  Lines             ?      156           
  Branches          ?       45           
=========================================
  Hits              ?       71           
  Misses            ?       73           
  Partials          ?       12           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2c7218...27f9e37. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.