Commit c78bd697 authored by Lars Bilke's avatar Lars Bilke
Browse files

Fixed yarn build.

parent f61491c4
Pipeline #18 failed with stages
in 1 minute and 2 seconds
{
"presets":["env"]
"presets":["es2015"]
}
\ No newline at end of file
......@@ -27,6 +27,6 @@
},
"scripts": {
"start": "webpack-dev-server --inline",
"build": "webpack -p --progress --config webpack.config.js --hide-modules"
"build": "webpack -p --config webpack.config.js --hide-modules"
}
}
// Imports and requires
import * as d3 from 'd3';
import legend from 'd3-svg-legend'
let gaussian = require('gaussian');
var gaussian = require('gaussian');
import fontawesome from '@fortawesome/fontawesome'
import { faPlay, faStop, faStepBackward, faStepForward } from '@fortawesome/fontawesome-free-solid'
......
......@@ -15,10 +15,12 @@ module.exports = {
filename: 'index_bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ }
],
rules: [
{
test: /\.js$/,
use: [ 'babel-loader'],
exclude: '/node_modules/'
},
{
test: /\.css$/,
use: [ 'style-loader', 'css-loader' ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment