nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 412bd196907db034e1794c785596b79cd2dafa8e
parent d6d5e0f7fc7803214457558bc3a453853c9bc926
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Wed,  4 Dec 2019 23:02:07 +0100

config: put js and css into static folder

Diffstat:
Mwebpack/webpack.config.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js @@ -23,7 +23,7 @@ const isProduction = mode === 'production'; const productionOutput = { path: paths.appBuild, - filename: 'js/[name].[contenthash:8].js' + filename: 'static/js/[name].[contenthash:8].js' }; const babelConfig = { @@ -59,7 +59,7 @@ const plugins = [ template: paths.appIndexHtml }), new MiniCssExtractPlugin({ - filename: 'css/[name].[contenthash:8].css' + filename: 'static/css/[name].[contenthash:8].css' }), new Webpack.DefinePlugin({ 'NODE_ENV': JSON.stringify(mode),