1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-27 06:54:31 +02:00

Entry point

This commit is contained in:
Antonio Laguna
2017-01-25 22:48:35 +01:00
parent 2e93754ba1
commit 70bde2f4ae
8 changed files with 174 additions and 1 deletions

27
webpack.config.babel.js Normal file
View File

@@ -0,0 +1,27 @@
const path = require('path');
const src = path.join(__dirname, 'src');
module.exports = {
context: src,
entry: {
webslides: './full.js',
"webslides-lite": './lite.js'
},
output: {
filename: '[name].js',
path: path.join(__dirname, 'dist')
},
devServer: {
contentBase: __dirname,
},
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
include: src
}
]
}
};