Skip to content

Commit

Permalink
fix: try vue-cli-service-build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcgrath13 committed Jul 20, 2020
1 parent f6d676a commit 3d36223
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
run: npm run build-lib
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Mary McGrath",
"email": "[email protected]"
},
"main": "dist/vue-png-explainer.umd.js",
"main": "dist/vue-png-explainer.common.js",
"module": "dist/vue-png-explainer.esm.js",
"unpkg": "dist/vue-png-explainer.min.js",
"browser": {
Expand All @@ -19,6 +19,7 @@
"build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
"build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
"build-lib": "vue-cli-service build --target lib src/components/index.js",
"lint": "vue-cli-service lint",
"release": "semantic-release --branches main"
},
Expand Down
3 changes: 3 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
css: { extract: false }
}

0 comments on commit 3d36223

Please sign in to comment.