|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
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.