Skip to content

Commit

Permalink
fix ie11 polyfills missing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnavratil committed Jan 23, 2020
1 parent 5d20f75 commit 2fd13b0
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import Inserter from './inserter';
import Settings from './settings';
import ControlBuilder from './controlbuilder';

require('string.prototype.repeat');

class PainterroProc {
constructor(params) {
addDocumentObjectHelpers();
Expand Down
73 changes: 73 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"css-loader": "^0.28.3",
"es6-promise": "^4.1.1",
"eslint": "^4.1.1",
Expand All @@ -37,6 +38,7 @@
"lodash": ">=4.17.13",
"mime": ">=1.4.1",
"raw-loader": "^0.5.1",
"string.prototype.repeat": "^0.2.0",
"style-loader": "^0.18.1",
"url-loader": "^0.5.8",
"webfonts-generator": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function webpackConfig(target) {
test: /\.js$/,
loader: 'babel-loader',
query: {
presets: ['es2015']
presets: ['es2015', 'es2016']
}
},
{
Expand Down

0 comments on commit 2fd13b0

Please sign in to comment.