Skip to content

Commit

Permalink
chore: replaced vite-content-plugin with vite-plugin-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdowdle committed Jun 23, 2023
1 parent 1239d39 commit 28c42dd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 133 deletions.
4 changes: 2 additions & 2 deletions packages/ripple-storybook/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const svgLoader = require('vite-svg-loader')
const contentLoader = require('@originjs/vite-plugin-content').default
const viteYamlLoader = require('@modyfi/vite-plugin-yaml').default
const path = require('path')

const vitePlugins = [
contentLoader(),
viteYamlLoader(),
svgLoader({
defaultImport: 'raw',
svgoConfig: {
Expand Down
2 changes: 1 addition & 1 deletion packages/ripple-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@originjs/vite-plugin-content": "^1.0.3",
"@modyfi/vite-plugin-yaml": "^1.0.4",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-cssresources": "^6.2.9",
Expand Down
1 change: 0 additions & 1 deletion packages/ripple-ui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
},
"devDependencies": {
"@dpc-sdp/ripple-tide-api": "workspace:*",
"@originjs/vite-plugin-content": "^1.0.3",
"@vitejs/plugin-vue": "^4.1.0",
"@vue/compiler-sfc": "^3.2.47",
"autoprefixer": "^10.4.14",
Expand Down
150 changes: 21 additions & 129 deletions pnpm-lock.yaml

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

0 comments on commit 28c42dd

Please sign in to comment.