mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 20:21:19 +02:00
23 lines
426 B
JavaScript
Executable File
23 lines
426 B
JavaScript
Executable File
const path = require('path');
|
|
const environment = require('./configuration/environment');
|
|
|
|
module.exports = {
|
|
entry: {
|
|
app: path.resolve(environment.paths.source, 'index.js'),
|
|
},
|
|
output: {
|
|
filename: 'main.js',
|
|
path: environment.paths.output,
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
use: ['babel-loader'],
|
|
},
|
|
],
|
|
},
|
|
target: 'web',
|
|
};
|