StructV2/webpack.config.js
2021-04-20 19:12:41 +08:00

24 lines
361 B
JavaScript

const path = require('path');
module.exports = {
entry: './src/StructV.ts',
output: {
filename: './sv.js',
libraryTarget: 'umd'
},
resolve: {
extensions: ['.ts', '.js']
},
module: {
rules: [
{
test: /\.ts$/,
exclude: /node_modules/,
loader: 'awesome-typescript-loader'
}
]
},
devtool: 'eval-source-map'
};