Changeset af54e79 for src/mapservice-webclient/webpack.config.js
- Timestamp:
- Feb 6, 2021, 10:56:18 AM (6 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 8f1d0b7
- Parents:
- 8ba1a11
- File:
-
- 1 edited
-
src/mapservice-webclient/webpack.config.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice-webclient/webpack.config.js
r8ba1a11 raf54e79 5 5 6 6 module.exports = { 7 entry: './src/main.ts',7 entry: { index: path.resolve(__dirname, 'src', 'main.ts') }, 8 8 module: { 9 9 rules: [ 10 10 { 11 11 test: /\.ts$/, 12 use: ['angular2-template-loader'], 13 type: 'asset', 12 use: ['ts-loader', 'angular2-template-loader'], 14 13 exclude: /node_modules/, 15 14 }, 16 15 { 17 16 test: /\.(html|css)$/, 18 type: 'asset ',17 type: 'asset/source', 19 18 }, 20 19 ] … … 23 22 extensions: ['.ts', '.js'], 24 23 alias: { 25 '@': path.resolve(__dirname, 'src /app/'),24 '@': path.resolve(__dirname, 'src', 'app/'), 26 25 } 27 26 }, 28 27 plugins: [ 29 28 new HtmlWebpackPlugin({ 30 template: './src/index.html', 31 filename: 'index.html', 32 inject: 'body' 29 template: path.resolve(__dirname, 'src', 'index.html'), 33 30 }), 34 31 new webpack.DefinePlugin({
Note:
See TracChangeset
for help on using the changeset viewer.
