Changeset 8ba1a11 for src/mapservice-webclient/webpack.config.js
- Timestamp:
- Feb 6, 2021, 9:49:23 AM (6 years ago)
- Branches:
- debian/bullseye, master
- Children:
- af54e79
- Parents:
- e90dce0
- git-author:
- Joachim Langenbach <joachim.langenbach@…> (02/06/21 09:20:22)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (02/06/21 09:49:23)
- File:
-
- 1 edited
-
src/mapservice-webclient/webpack.config.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice-webclient/webpack.config.js
re90dce0 r8ba1a11 10 10 { 11 11 test: /\.ts$/, 12 use: ['ts-loader', 'angular2-template-loader'], 13 exclude: /node_modules/ 12 use: ['angular2-template-loader'], 13 type: 'asset', 14 exclude: /node_modules/, 14 15 }, 15 16 { 16 17 test: /\.(html|css)$/, 17 loader: 'raw-loader' 18 type: 'asset', 18 19 }, 19 20 ] … … 37 38 }) 38 39 }), 39 new CopyPlugin([ 40 { from: 'src/css', to: 'css' }, 41 { from: '../gnuboat/common/css', to: 'css' }, 42 { from: '../gnuboat/common/js', to: 'js' }, 43 { from: '../gnuboat/common/lib', to: 'lib' }, 44 { from: '../gnuboat/common/resources', to: 'resources' }, 45 { from: '../gnuboat/common/icon/gnuboat-256-256-transparent.png', to: 'resources' }, 46 { from: '../gnuboat/common/icon/gnuboat-device.svg', to: 'resources' }, 47 { from: '../gnuboat/common/icon/gnuboat-gauge.svg', to: 'resources' }, 48 { from: '../gnuboat/common/icon/gnuboat-logfile.svg', to: 'resources' }, 49 { from: '../gnuboat/common/icon/gnuboat-water.svg', to: 'resources' }, 50 ]) 40 new CopyPlugin({ 41 patterns: [ 42 { from: 'src/css', to: 'css' }, 43 { from: '../gnuboat/common/css', to: 'css' }, 44 { from: '../gnuboat/common/js', to: 'js' }, 45 { from: '../gnuboat/common/lib', to: 'lib' }, 46 { from: '../gnuboat/common/resources', to: 'resources' }, 47 { from: '../gnuboat/common/icon/gnuboat-256-256-transparent.png', to: 'resources' }, 48 { from: '../gnuboat/common/icon/gnuboat-device.svg', to: 'resources' }, 49 { from: '../gnuboat/common/icon/gnuboat-gauge.svg', to: 'resources' }, 50 { from: '../gnuboat/common/icon/gnuboat-logfile.svg', to: 'resources' }, 51 { from: '../gnuboat/common/icon/gnuboat-water.svg', to: 'resources' }, 52 ] 53 }) 51 54 ], 52 55 optimization: { … … 57 60 }, 58 61 devServer: { 59 historyApiFallback: true 62 historyApiFallback: true, 63 compress: false, 64 port: 8081 60 65 } 61 66 };
Note:
See TracChangeset
for help on using the changeset viewer.
