webpack-path-rewriter
webpack-path-rewriter copied to clipboard
Webpack plugin for replacing resources' paths with public ones
webpack.config.js: ``` module.exports = { entry: { index: "./assets/index.html", }, modules: [ loaders: { {test: /\.html$/, loader: PathRewriterPlugin.rewriteAndEmit({ name: '[name].html', loader: 'file' })}, ``` Here's index.html: ``` ``` Here's what...
How to inline base64 image string instead of image url path? can file-loader be replaced by url-loader? https://github.com/webpack/url-loader
Hi. Please make example Web-dev-server stylus-jade with HMR. Tnx
I tried to run the exmaple html-css. and I got an error.(http://prntscr.com/8zqgqh)
I'm using your plugin to reference image assets from a .html page. Generated assets work fine on both Mac and Windows, but normal assets are not correctly referenced on Windows...
I am using the extract plugin in conjunction with one or two self-made loaders that turn code into plain CSS. Now I just figured out that some - if not,...
If you change any source file while webpack is running, the plugin does not rewrite the paths in the built html file. You have to stop and re-run webpack.
Right now it is not clear how `PathRewriterPlugin` is supposed to access the files it touches. Are you supposed to `require()` the files? Are you supposed to add them as...