diff --git a/front/.gitignore b/front/.gitignore index e77b54d0..678f9c44 100644 --- a/front/.gitignore +++ b/front/.gitignore @@ -5,4 +5,6 @@ /dist/webpack.config.js /dist/webpack.config.js.map /dist/src -*.sh \ No newline at end of file +*.sh +/dist/index.html +/dist/main.js* diff --git a/front/dist/index.html b/front/src/index.html similarity index 95% rename from front/dist/index.html rename to front/src/index.html index 9a197822..7de282ef 100644 --- a/front/dist/index.html +++ b/front/src/index.html @@ -6,16 +6,6 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - - - - diff --git a/front/webpack.config.js b/front/webpack.config.js index 82bb34fa..e03766f2 100644 --- a/front/webpack.config.js +++ b/front/webpack.config.js @@ -29,7 +29,7 @@ module.exports = { extensions: [ '.tsx', '.ts', '.js' ], }, output: { - filename: '[name].[contenthash].js', + filename: '[name].js', path: path.resolve(__dirname, 'dist'), publicPath: '/' }, @@ -39,7 +39,7 @@ module.exports = { plugins: [ new HtmlWebpackPlugin( { - template: './dist/index.html' + template: './src/index.html' } ), new webpack.ProvidePlugin({