Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
522 B

var path = require('path');
module.exports = {
context: __dirname,
entry: './file-to-annotate.js',
output: {
path: __dirname + '/dist',
filename: 'build.js',
},
resolveLoader: {
modules: [
'node_modules',
path.resolve(__dirname, '../../'),
],
},
module: {
rules: [
{
test: /\.js$/,
use: [
{ loader: 'loader' },
{ loader: 'babel-loader', options: { presets: ['es2015'] } },
],
},
],
},
devtool: 'source-map',
};