mirror of
https://github.com/renorris/openfsd
synced 2026-03-22 23:05:36 +08:00
initial v1.0-beta commit
This commit is contained in:
22
web/javascript/webpack.config.js
Normal file
22
web/javascript/webpack.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.ts',
|
||||
output: {
|
||||
filename: 'openfsd-bundle.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.ts$/,
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
},
|
||||
mode: "production",
|
||||
};
|
||||
Reference in New Issue
Block a user