schovi / webpack-chrome-extension

Moved and redesigned into https://github.com/schovi/create-chrome-extension
MIT License
167 stars 27 forks source link

add for build/icons #7

Closed hungtuchen closed 9 years ago

hungtuchen commented 9 years ago

according to https://developer.chrome.com/extensions/manifest/icons icons should be specified in manifest.json and currently it can't be specified because it will be ignored in build process

schovi commented 9 years ago

Simple and elegant solution for now. In future I want to change how processing works. Assets which you want to be processed thru extension pipeline will be marked like script: "@src/content/index.js" or similar, otherwise it will be just copied into build. Plus I want to listen on manifest.json + these files and copy them to build on any change. You will never have to stop and start gulp again when you change something :)

hungtuchen commented 9 years ago

sounds really nice, hope to see how it works It's true that if entry point can be combined within manifest.json, it would be the best choice. Then we don't we need compile an reload again