projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce Observable Plot
[gpl/argeo-suite.git]
/
js
/
webpack.common.js
diff --git
a/js/webpack.common.js
b/js/webpack.common.js
index 1f2f2a2b80d40c23590b34ff8305715fdde052fe..dccac82c4d767ac6163f2cebb1d6ddc5041e37b2 100644
(file)
--- a/
js/webpack.common.js
+++ b/
js/webpack.common.js
@@
-5,14
+5,13
@@
const path = require('path');
module.exports = {
entry: {
module.exports = {
entry: {
- "geo": {
- import: './src/geo/index.js',
- }
+ "geo": './src/geo/index.js',
+ "graph": './src/graph/index.js',
},
output: {
filename: '[name].[contenthash].js',
path: path.resolve(__dirname, 'org.argeo.app.js/org/argeo/app/js'),
},
output: {
filename: '[name].[contenthash].js',
path: path.resolve(__dirname, 'org.argeo.app.js/org/argeo/app/js'),
-
publicPath:
'/pkg/org.argeo.app.js',
+
publicPath:
'/pkg/org.argeo.app.js',
clean: true,
},
optimization: {
clean: true,
},
optimization: {
@@
-50,6
+49,13
@@
module.exports = {
filename: 'geo.html',
chunks: ['geo'],
}),
filename: 'geo.html',
chunks: ['geo'],
}),
+ new HtmlWebpackPlugin({
+ title: 'Argeo Suite Graph JS',
+ template: 'src/graph/index.html',
+ scriptLoading: 'module',
+ filename: 'graph.html',
+ chunks: ['graph'],
+ }),
],
};
\ No newline at end of file
],
};
\ No newline at end of file