Browse Source

Fix webpack config

master
rozetko 6 years ago
parent
commit
c433c8fa04
  1. 6
      build/webpack.base.conf.js

6
build/webpack.base.conf.js

@ -11,7 +11,8 @@ module.exports = {
context: resolve('src'), context: resolve('src'),
entry: { entry: {
'./module': './module.ts', './module': './module.ts',
'./panel/graph_panel/module': './panel/graph_panel/graph_ctrl.ts' './panel/graph_panel/module': './panel/graph_panel/graph_ctrl.ts',
'./datasource/module': './datasource/module.ts'
}, },
output: { output: {
filename: '[name].js', filename: '[name].js',
@ -35,7 +36,8 @@ module.exports = {
{ from: 'plugin.json' }, { from: 'plugin.json' },
{ from: 'img/*' }, { from: 'img/*' },
{ from: 'panel/graph_panel/plugin.json', to: 'panel/graph_panel/plugin.json' }, { from: 'panel/graph_panel/plugin.json', to: 'panel/graph_panel/plugin.json' },
{ from: 'panel/graph_panel/partials/*' } { from: 'panel/graph_panel/partials/*' },
{ from: 'datasource/plugin.json', to: 'datasource/plugin.json' },
]) ])
], ],
resolve: { resolve: {

Loading…
Cancel
Save