Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
451 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | const path = require('path');
|
---|
4 |
|
---|
5 | module.exports = {
|
---|
6 | entry: path.resolve(__dirname, 'src/index.js'),
|
---|
7 | output: {
|
---|
8 | path: path.resolve(__dirname, 'assets'),
|
---|
9 | filename: 'bundle.js'
|
---|
10 | },
|
---|
11 | module: {
|
---|
12 | rules: [
|
---|
13 | {
|
---|
14 | test: /\.js$/,
|
---|
15 | exclude: /node_modules/,
|
---|
16 | use: {
|
---|
17 | loader: 'babel-loader'
|
---|
18 | }
|
---|
19 | }
|
---|
20 | ]
|
---|
21 | }
|
---|
22 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.