three-dxf
Version:
A dxf viewer for the browser using three.js.
15 lines (14 loc) • 371 B
JavaScript
const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'three-dxf.js',
path: path.resolve(__dirname, 'dist'),
library: 'ThreeDxf',
libraryTarget: 'umd',
globalObject: 'typeof self !== \'undefined\' ? self : this'
},
externals: {
three: 'THREE'
},
};