nickjj / manifest-revision-webpack-plugin

Write out a manifest file containing your versioned webpack chunks and assets.
ISC License
124 stars 40 forks source link

Questions about the test_app #34

Closed JiDai closed 7 years ago

JiDai commented 7 years ago

Hi, I tried to run your test app and I have two questions :

I have many many error in SASS files.

nickjj commented 7 years ago

Hi,

  1. Which test app are you talking about?

  2. You can ignore those paths because they are already being processed by webpack. This plugin can then handle images and whatever other assets you want md5 tagged. Of course if your application uses different paths for your CSS and JS files, you'll want to change those ignorePaths.

JiDai commented 7 years ago

https://github.com/nickjj/flask-webpack/tree/master/flask_webpack/tests/test_app

nickjj commented 7 years ago

'file?context=' + rootAssetPath + '&name=[path][name].[hash].[ext]',

^ This informs webpack where your root asset path is located and defines how the filename will be written to disk. This part of the config is webpack specific and isn't something special about this plugin.

JiDai commented 7 years ago

Ok thanks