23 lines
409 B
JavaScript
23 lines
409 B
JavaScript
|
|
|
|
module.exports = {
|
|
entry: './src/StructV.ts',
|
|
output: {
|
|
filename: './sv.js',
|
|
libraryTarget: 'umd'
|
|
},
|
|
resolve: {
|
|
extensions: ['.ts', '.js']
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
exclude: /node_modules/,
|
|
loader: 'ts-loader'
|
|
}
|
|
]
|
|
},
|
|
// devtool: 'eval-source-map'
|
|
};
|