extract-stilr-webpack-plugin
Version:
Extract stilr stylesheets for production use.
19 lines (17 loc) • 390 B
JavaScript
var ExtractStilrPlugin = require('../index');
module.exports = {
context: __dirname,
entry: {
main: './entryWithStilrStylesheet_emptyExport'
},
output: {
path: __dirname + '/dist',
filename: 'withStilrStylesheet_emptyExport.js',
libraryTarget: 'umd'
},
plugins: [
new ExtractStilrPlugin({
filename: 'withStilrStylesheet_emptyExport.css'
})
]
};