diff options
| author | TheMas3212 <mas3212@gmail.com> | 2023-09-21 09:31:34 +1000 |
|---|---|---|
| committer | TheMas3212 <mas3212@gmail.com> | 2023-09-21 09:31:34 +1000 |
| commit | 88f4b782cde59111a047ccd97fa6712d0fc56c89 (patch) | |
| tree | 8c8e27235f17c1fe87ed08fd8cf743b9db6fb5bd /webpack.config.js | |
| download | tasd-js-88f4b782cde59111a047ccd97fa6712d0fc56c89.tar.gz tasd-js-88f4b782cde59111a047ccd97fa6712d0fc56c89.zip | |
Inital Commit
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..df8797a --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,21 @@ +const path = require('path'); + +module.exports = { + entry: './src/lib.ts', + module: { + rules: [ + { + test: /\.ts?$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + resolve: { + extensions: ['.tsx', '.ts', '.js'], + }, + output: { + filename: 'lib.js', + path: path.resolve(__dirname, 'dist'), + } +};
\ No newline at end of file |
