Created
July 16, 2020 08:33
-
-
Save ngoc24794/64b062e47730b13e3fd5bf68194e10a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require('path'); | |
| module.exports = { | |
| mode: 'development', | |
| devtool: 'source-map', | |
| resolve: { | |
| extensions: ['.ts'], | |
| alias: { | |
| '@': path.resolve(__dirname, 'src/'), | |
| }, | |
| }, | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.ts?$/, | |
| use: 'ts-loader', | |
| exclude: /node_modules/, | |
| }, | |
| ], | |
| }, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment