Skip to content

Commit

Permalink
Add proper polyfill for IE11
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jun 21, 2018
1 parent 93725e4 commit 63ac985
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
24 changes: 19 additions & 5 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
"test": "tests"
},
"dependencies": {
"@uirouter/angularjs": "^1.0.18",
"angular": "^1.7.2",
"angular-animate": "^1.7.2",
"angular-file-upload": "^2.5.0",
"angular-markdown-it": "^0.6.1",
"angular-sanitize": "^1.7.2",
"babel-polyfill": "^6.26.0",
"markdown-it": "^8.4.1",
"markdown-it-link-target": "^1.0.2",
"ng-sortable": "^1.3.8",
"ui-select": "^0.19.8",
"@uirouter/angularjs": "^1.0.18"
"ui-select": "^0.19.8"
},
"devDependencies": {
"babel-core": "^6.26.0",
Expand Down
4 changes: 3 additions & 1 deletion js/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ const path = require('path');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

require('babel-polyfill');

module.exports = {
node: {
fs: 'empty',
},
entry: {
deck: './init.js',
deck: ['babel-polyfill', './init.js'],
},
output: {
filename: '[name].js',
Expand Down

0 comments on commit 63ac985

Please sign in to comment.