storybook-builder-vite
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -11,2 +11,3 @@ // We need Vite to precompile these dependencies, because they contain non-ESM code that would break | ||
'lodash/isPlainObject', | ||
'lodash/mapKeys', | ||
'lodash/pickBy', | ||
@@ -33,2 +34,3 @@ 'lodash/uniq', | ||
'@storybook/csf', | ||
'@storybook/core/client', | ||
'regenerator-runtime/runtime.js', | ||
@@ -47,2 +49,20 @@ 'memoizerific', | ||
'qs', | ||
'overlayscrollbars', | ||
'prettier/parser-babel', | ||
'prettier/parser-flow', | ||
'prettier/parser-typescript', | ||
'loader-utils', | ||
'estraverse', | ||
'refractor/core', | ||
'refractor/lang/bash.js', | ||
'refractor/lang/css.js', | ||
'refractor/lang/graphql.js', | ||
'refractor/lang/jsx.js', | ||
'refractor/lang/js-extras.js', | ||
'refractor/lang/json.js', | ||
'refractor/lang/markup.js', | ||
'refractor/lang/markdown.js', | ||
'refractor/lang/yaml.js', | ||
'refractor/lang/tsx.js', | ||
'refractor/lang/typescript.js' | ||
].filter((m) => { | ||
@@ -55,3 +75,3 @@ try { | ||
} | ||
}), | ||
}) | ||
}; |
{ | ||
"name": "storybook-builder-vite", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "An experimental plugin to run and build Storybooks with Vite", | ||
"main": "index.js", | ||
"scripts": { | ||
}, | ||
"scripts": {}, | ||
"author": "Eirik Sletteberg", | ||
"license": "MIT", | ||
"dependencies": { | ||
"core-js": "^3.10.1", | ||
"glob-promise": "^4.1.0" | ||
@@ -12,0 +12,0 @@ }, |
@@ -5,2 +5,3 @@ const path = require('path'); | ||
const { codeGeneratorPlugin } = require('./code-generator-plugin.js'); | ||
const { mockCoreJs } = require('./mock-core-js.js'); | ||
const reactPlugin = require('@vitejs/plugin-react-refresh'); | ||
@@ -14,3 +15,3 @@ | ||
const plugins = [codeGeneratorPlugin(options)]; | ||
const plugins = [codeGeneratorPlugin(options), mockCoreJs()]; | ||
if (framework === 'vue') { | ||
@@ -17,0 +18,0 @@ const vuePlugin = await import('@vitejs/plugin-vue').then((plugin) => |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13829
10
354
7
+ Addedcore-js@^3.10.1
+ Addedcore-js@3.40.0(transitive)