Giter Club home page Giter Club logo

chunkhash-replace-webpack-plugin's People

Contributors

estaub avatar joeyeng avatar jscoobyced avatar kfwerf avatar muppetkermit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chunkhash-replace-webpack-plugin's Issues

DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead

Seems like the plugin has not been updated for a while, could you please fix this deprecation warning with a quick small fix ?

(node:28) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at /build/node_modules/chunkhash-replace-dm-webpack-plugin/index.js:21:14
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:71:3)

Not supporting [contentHash]

If you use [name].[chunkHash].css in the ExtractTextPlugin the resulting JS and CSS have the same chunkHash in their names. This is no good since a change to CSS does not change the CSS filename on a rebuild. The best is to use [name].[contentHash].css, but then your plug-in won't update the CSS in my index.html.

Quoth the index: "undefined".

I'm running into a problem where c-r-w-p is emitting an index.html that has been transformed into a file containing the single word: undefined. I expect I'll end up using a debugger to walk through and see what's breaking, but just in case: has anyone seen this before?

Everything's very vanilla, and it used to work; I expect this is a version compatibility issue of some kind. I've regrettably not done a production build in a long time, and much of the environment has been upgraded (including Node, to 8.1.4).

Assuming no help here, I'll comment (and close, if appropriate) when I've figured it out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.