Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-monnot committed Oct 21, 2021
1 parent 7797938 commit 8c58bb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 2 additions & 6 deletions babel.config.js
@@ -1,12 +1,8 @@
module.exports = {
presets: [
['@babel/preset-env', { targets: { node: 'current' } }],
['@babel/preset-env', { loose: true, targets: { node: 10 } }],
'@babel/preset-react',
'@babel/preset-typescript',
],
plugins: ['@babel/plugin-syntax-dynamic-import'],
env: {
modules: {
presets: ['@babel/preset-env'],
},
},
};
3 changes: 3 additions & 0 deletions catalog.config.js
@@ -1,6 +1,9 @@
/* eslint no-param-reassign: 0 */
module.exports = {
webpack: catalogWebpackConfig => {
// Remove uglify
catalogWebpackConfig.plugins.shift();

catalogWebpackConfig.output.publicPath = '';
return catalogWebpackConfig;
},
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -3,7 +3,7 @@
"description": "Vertical timeline for React.js",
"author": "Stéphane Monnot",
"user": "stephane-monnot",
"version": "3.4.1",
"version": "3.5.0",
"scripts": {
"start": "catalog start docs",
"test": "jest",
Expand All @@ -30,7 +30,6 @@
"@babel/eslint-parser": "^7.5.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.10.1",
"@babel/preset-es2015": "^7.0.0-beta.53",
"@babel/preset-react": "^7.12.10",
"@material-ui/core": "^4.10.0",
"@material-ui/icons": "^4.9.1",
Expand Down

0 comments on commit 8c58bb6

Please sign in to comment.