You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/buildtools/webpack.check.js

29 lines
522 B

const path = require('path');
module.exports = {
target: 'web',
mode: 'production',
entry: "./app/client/browserCheck",
output: {
path: path.resolve("./static"),
filename: "browser-check.js"
},
resolve: {
extensions: ['.ts', '.js'],
},
module: {
rules: [
{
test: /\.(js|ts)?$/,
loader: 'esbuild-loader',
options: {
loader: 'ts',
target: 'es2017',
sourcemap: true,
},
exclude: /node_modules/
},
]
}
};