2021-01-28 09:01:16 +00:00
|
|
|
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/,
|
2021-04-06 13:45:11 +00:00
|
|
|
loader: 'awesome-typescript-loader'
|
2021-01-28 09:01:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-04-06 13:45:11 +00:00
|
|
|
devtool: 'eval-source-map'
|
2021-01-28 09:01:16 +00:00
|
|
|
};
|