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

refactor: Webpack 4.x compatibility #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

refactor: Webpack 4.x compatibility #75

wants to merge 2 commits into from

Conversation

joshwiens
Copy link
Member

@joshwiens joshwiens commented Dec 21, 2017

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
function isWarningTag(warningTags, tag) {
return warningTags.includes(tag.tagName);
}
// FIXME: Due to limtation of parser, we need to implement our
Copy link
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
Copy link
Contributor

randak commented Jan 2, 2018

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

@randak
Copy link
Contributor

randak commented Jan 17, 2018

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


validateOptions(schema, options, 'SVGInlineLoader');

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

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
Copy link
Contributor

randak commented Mar 28, 2018

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

@randak
Copy link
Contributor

randak commented Apr 25, 2018

@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
Copy link

msphn commented May 3, 2018

@d3viant0ne did you abandon this change / project?

@randak
Copy link
Contributor

randak commented May 21, 2018

😞

@msphn
Copy link

msphn commented May 21, 2018

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

@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
Copy link

dazlious commented Jun 8, 2018

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

@ddx32
Copy link

ddx32 commented Oct 23, 2018

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

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

@elliottregan
Copy link

elliottregan commented Mar 14, 2019

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

⬆️ @webpack @webpack-contrib

@will-russell
Copy link

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

@bebraw
Copy link

bebraw commented Apr 4, 2019

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

@will-russell
Copy link

@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
Copy link

bebraw commented Apr 4, 2019

@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
Member

In todo

@aramin
Copy link

aramin commented Jun 24, 2019

Are there any news on this issue?

@elliottregan
Copy link

🦗🦗🦗

@liorgreenb
Copy link

Also waiting for this

@codecov
Copy link

codecov bot commented Apr 10, 2020

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.