mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
fix: do not modify webpack.config.js
This commit is contained in:
parent
afcf242f75
commit
8d0f2f6791
@ -20,14 +20,11 @@ Encore
|
|||||||
* Each entry will result in one JavaScript file (e.g. app.js)
|
* Each entry will result in one JavaScript file (e.g. app.js)
|
||||||
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
|
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
|
||||||
*/
|
*/
|
||||||
.addEntry('app', './assets/app.js')
|
.addEntry('app', './assets/index.tsx')
|
||||||
|
|
||||||
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
|
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
|
||||||
.splitEntryChunks()
|
.splitEntryChunks()
|
||||||
|
|
||||||
// enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)
|
|
||||||
.enableStimulusBridge('./assets/controllers.json')
|
|
||||||
|
|
||||||
// will require an extra script tag for runtime.js
|
// will require an extra script tag for runtime.js
|
||||||
// but, you probably want this, unless you're building a single-page app
|
// but, you probably want this, unless you're building a single-page app
|
||||||
.enableSingleRuntimeChunk()
|
.enableSingleRuntimeChunk()
|
||||||
@ -60,17 +57,16 @@ Encore
|
|||||||
//.enableSassLoader()
|
//.enableSassLoader()
|
||||||
|
|
||||||
// uncomment if you use TypeScript
|
// uncomment if you use TypeScript
|
||||||
//.enableTypeScriptLoader()
|
.enableTypeScriptLoader()
|
||||||
|
|
||||||
// uncomment if you use React
|
// uncomment if you use React
|
||||||
//.enableReactPreset()
|
.enableReactPreset()
|
||||||
|
// uncomment to get integrity="..." attributes on your script & link tags
|
||||||
|
// requires WebpackEncoreBundle 1.4 or higher
|
||||||
|
//.enableIntegrityHashes(Encore.isProduction())
|
||||||
|
|
||||||
// uncomment to get integrity="..." attributes on your script & link tags
|
// uncomment if you're having problems with a jQuery plugin
|
||||||
// requires WebpackEncoreBundle 1.4 or higher
|
//.autoProvidejQuery()
|
||||||
//.enableIntegrityHashes(Encore.isProduction())
|
|
||||||
|
|
||||||
// uncomment if you're having problems with a jQuery plugin
|
|
||||||
//.autoProvidejQuery()
|
|
||||||
;
|
;
|
||||||
|
|
||||||
module.exports = Encore.getWebpackConfig();
|
module.exports = Encore.getWebpackConfig();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user