literyz-js/webpack.config.js
2024-08-08 12:13:28 +01:00

17 lines
453 B
JavaScript

const path = require('path');
module.exports = {
entry: {
extensions: './src/extensions.js',
graphics: './src/graphics.js',
project: './src/project.js'
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'dist'),
library: 'LiteRyzJS', // The global variable name under which the classes will be exposed
libraryTarget: 'umd',
globalObject: 'this'
},
mode: 'production', // development|production
};