Skip to content

Commit

Permalink
Remove babel
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbabbs committed Jul 18, 2017
1 parent ab2bd31 commit 31bcd1a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"author": "Giovanni Esposito <[email protected]> (http://mrbabbs.com/)",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.0",
"css-loader": "^0.28.4",
"elm": "^0.18.0",
"elm-css": "^0.6.1",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Elm from './Main.elm'
import Stylesheets from './Stylesheets.elm'
const Elm = require('./Main.elm');
const Stylesheets = require('./Stylesheets.elm');

(function init() {
const node = document.getElementById('main');
Expand Down
9 changes: 0 additions & 9 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ module.exports = {
module: {
rules: [
{
test: /\.js$/,
exclude: [/elm-stuff/, /node_modules/, /\.elm$/],
use: {
loader: 'babel-loader',
options: {
presets: ['env']
}
}
}, {
test: /\.elm$/,
exclude: [/elm-stuff/, /node_modules/, /Stylesheets\.elm$/],
use: isProd? elmLoader : elmLoaderDev
Expand Down

0 comments on commit 31bcd1a

Please sign in to comment.