diff --git a/dist/microfrontend1/index.html b/dist/microfrontend1/index.html deleted file mode 100644 index c7b538c..0000000 --- a/dist/microfrontend1/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/dist/microfrontend2/index.html b/dist/microfrontend2/index.html deleted file mode 100644 index 9235430..0000000 --- a/dist/microfrontend2/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/dist/microfrontend3/index.html b/dist/microfrontend3/index.html deleted file mode 100644 index 85ff304..0000000 --- a/dist/microfrontend3/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/microfrontend1/src/application.html b/microfrontend1/src/application.html index 72a9d3d..040b554 100644 --- a/microfrontend1/src/application.html +++ b/microfrontend1/src/application.html @@ -3,10 +3,9 @@ Web components loader - - + - + diff --git a/microfrontend1/webpack.prod.js b/microfrontend1/webpack.prod.js index bc7f12f..23a1b18 100644 --- a/microfrontend1/webpack.prod.js +++ b/microfrontend1/webpack.prod.js @@ -1,20 +1,11 @@ const merge = require('webpack-merge'); const common = require('./webpack.common.js'); const path = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = merge(common, { output: { path: path.resolve(__dirname, '../dist/microfrontend1'), - filename: '[name].[chunkhash].js' + filename: '[name].js' }, - devtool: 'source-map', - plugins: [ - new HtmlWebpackPlugin({ - chunks: ['main'], - filename: 'index.html', - template: path.resolve(__dirname, 'src/angular-app.html'), - inject: false - }) - ] + devtool: 'source-map' }); \ No newline at end of file diff --git a/microfrontend2/src/application.html b/microfrontend2/src/application.html index 7b2cd6d..5beb684 100644 --- a/microfrontend2/src/application.html +++ b/microfrontend2/src/application.html @@ -3,10 +3,9 @@ Web components loader - - + - + diff --git a/microfrontend2/webpack.prod.js b/microfrontend2/webpack.prod.js index b044622..1a761a1 100644 --- a/microfrontend2/webpack.prod.js +++ b/microfrontend2/webpack.prod.js @@ -1,20 +1,11 @@ const merge = require('webpack-merge'); const common = require('./webpack.common.js'); const path = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = merge(common, { output: { path: path.resolve(__dirname, '../dist/microfrontend2'), - filename: '[name].[chunkhash].js' + filename: '[name].js' }, - devtool: 'source-map', - plugins: [ - new HtmlWebpackPlugin({ - chunks: ['main'], - filename: 'index.html', - template: path.resolve(__dirname, 'src/react-app.html'), - inject: false - }) - ] + devtool: 'source-map' }); \ No newline at end of file diff --git a/microfrontend3/src/application.html b/microfrontend3/src/application.html index 7ca0a0c..0d22e68 100644 --- a/microfrontend3/src/application.html +++ b/microfrontend3/src/application.html @@ -3,10 +3,9 @@ Web components loader - - + - + diff --git a/microfrontend3/webpack.prod.js b/microfrontend3/webpack.prod.js index 67cb02e..f47a829 100644 --- a/microfrontend3/webpack.prod.js +++ b/microfrontend3/webpack.prod.js @@ -1,20 +1,11 @@ const merge = require('webpack-merge'); const common = require('./webpack.common.js'); const path = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = merge(common, { output: { path: path.resolve(__dirname, '../dist/microfrontend3'), - filename: '[name].[chunkhash].js' + filename: '[name].js' }, - devtool: 'source-map', - plugins: [ - new HtmlWebpackPlugin({ - chunks: ['main'], - filename: 'index.html', - template: path.resolve(__dirname, 'src/react-app.html'), - inject: false - }) - ] + devtool: 'source-map' }); \ No newline at end of file diff --git a/src/index.html b/src/index.html index 76d37e7..7baa271 100644 --- a/src/index.html +++ b/src/index.html @@ -3,12 +3,11 @@ Web components loader - - + - - - + + +