deno.land / x / hooks@v0.6.5 / build / webpack.config.js

webpack.config.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const path = require('path');
module.exports = { entry: './src/index.ts', mode: 'production', output: { library: 'hooks', libraryTarget: 'umd', globalObject: 'this', path: path.resolve(__dirname, '..', 'dist'), filename: 'hooks.js' }, resolve: { extensions: ['.ts', '.js', '.json'] }, module: { rules: [ { test: /\.tsx?$/, use: ['ts-loader'], exclude: /node_modules/ } ] }}
hooks

Version Info

Tagged at
3 years ago