diff --git a/package.json b/package.json index c7c6963..816a4a6 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "string-replace-loader": "^2.2.0", "webpack": "^4.39.1", "webpack-cli": "^3.3.6", - "lottie-web": "^5.7.4", + "lottie-web": "^5.12.2", "copy-webpack-plugin": "^6.0.3" } } diff --git a/webpack.config.js b/webpack.config.js index 9a6346b..9c69526 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,12 +15,11 @@ module.exports = { rules: [{ test: /\.js$/i, use: [{ - loader: 'eslint-loader', - }, { loader: 'babel-loader', options: { presets: ['@babel/preset-env'], plugins: ['@babel/plugin-proposal-class-properties'], + sourceType: 'unambiguous', }, }, { loader: 'string-replace-loader', @@ -32,8 +31,8 @@ module.exports = { search: '__[STANDALONE]__', replace: '', }] - } - }], + }, + }, 'eslint-loader'], exclude: /node_modules/ }] },