Added weather api preparations and entrypoint for dockerfile
This commit is contained in:
+4
-5
@@ -21,6 +21,10 @@ Encore
|
||||
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
|
||||
*/
|
||||
.addEntry('app', './assets/app.js')
|
||||
.copyFiles({
|
||||
from: './assets/images',
|
||||
to: 'images/[path][name].[ext]',
|
||||
})
|
||||
|
||||
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
|
||||
.splitEntryChunks()
|
||||
@@ -53,11 +57,6 @@ Encore
|
||||
// options.minify = MinimizerPlugin.lightningCssMinify;
|
||||
// })
|
||||
|
||||
// configure Babel
|
||||
.configureBabel((config) => {
|
||||
config.plugins.push(['polyfill-corejs3', { method: 'usage-global', version: '3.49' }]);
|
||||
})
|
||||
|
||||
// enables Sass/SCSS support
|
||||
.enableSassLoader()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user