Move all files to sculpin-minified-css-test/
This commit is contained in:
parent
c93aeb1a16
commit
bd0d61cac2
47 changed files with 0 additions and 0 deletions
23
sculpin-minified-css-test/webpack.config.js
Normal file
23
sculpin-minified-css-test/webpack.config.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
var Encore = require('@symfony/webpack-encore');
|
||||
|
||||
Encore
|
||||
// directory where compiled assets will be stored
|
||||
.setOutputPath('source/build/')
|
||||
// public path used by the web server to access the output path
|
||||
.setPublicPath('/build')
|
||||
.copyFiles({
|
||||
from: './source/assets/icons'
|
||||
})
|
||||
.addEntry('app', './source/assets/js/app.js')
|
||||
|
||||
.disableSingleRuntimeChunk()
|
||||
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
// enables hashed filenames (e.g. app.abc123.css)
|
||||
.enableVersioning(Encore.isProduction())
|
||||
|
||||
.enableSassLoader()
|
||||
;
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
Loading…
Add table
Add a link
Reference in a new issue