Skip to content

Commit

Permalink
Merge pull request #3186 from c2corg/modern-build-only
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobesson authored Jan 4, 2023
2 parents f7c2225 + 8f5a42b commit 2a11595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
presets: ['@vue/cli-plugin-babel/preset'],
presets: [['@vue/cli-plugin-babel/preset', { targets: { esmodules: true }, polyfills: [] }]],
/*
* Looks like since we updated browserslist + caniuse database to support only recent browsers, we need to manually
* include plugins.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"author": "Camptocamp community <dev@camptocamp.org>",
"scripts": {
"serve": "cross-env BUILD_ENV=local vue-cli-service serve",
"build": "cross-env BUILD_ENV=camptocamp vue-cli-service build --skip-plugins eslint",
"build": "cross-env BUILD_ENV=camptocamp vue-cli-service build --no-module --skip-plugins eslint",
"lint": "prettier --write \"**/*.{ts,js,json,css,scss,less,md,html,vue}\" && npm run lint:style && vue-cli-service lint",
"build:github": "cross-env BUILD_ENV=github vue-cli-service build --skip-plugins eslint",
"build:github": "cross-env BUILD_ENV=github vue-cli-service build --no-module --skip-plugins eslint",
"generate-icons": "node tools/generate-icons.js",
"lint:no-fix": "prettier --check \"**/*.{ts,js,json,css,scss,less,md,html,vue}\" && npm run lint:style && vue-cli-service lint --no-fix",
"lint:style": "stylelint \"src/**/*.{vue,scss}\"",
Expand Down

0 comments on commit 2a11595

Please sign in to comment.