Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

webpack.config.js 377 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  1. const path = require('path');
  2. module.exports = {
  3. entry: './src/app.ts',
  4. module: {
  5. rules: [
  6. {
  7. test: /\.tsx?$/,
  8. use: 'ts-loader',
  9. exclude: /node_modules/
  10. }
  11. ]
  12. },
  13. resolve: {
  14. extensions: [ '.ts', '.tsx', '.js' ]
  15. },
  16. output: {
  17. filename: 'app.js',
  18. path: path.resolve(__dirname, 'dist')
  19. },
  20. mode: 'development'
  21. };
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...