Skip to content

Commit a01263f

Browse files
committed
Add missing scritps
1 parent 5f08ee0 commit a01263f

File tree

5 files changed

+5
-37
lines changed

5 files changed

+5
-37
lines changed

examples/bundle-test/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"private": true,
44
"version": "0.0.0",
55
"scripts": {
6+
"dev": "next",
67
"build": "next build"
78
},
89
"dependencies": {

examples/mdx-bundler/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"private": true,
44
"version": "0.0.0",
55
"scripts": {
6+
"dev": "next",
67
"build": "next build"
78
},
89
"dependencies": {

examples/vite/vite.config.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ import theme from "shiki/themes/github-dark.json"
66
export default defineConfig(async () => {
77
const mdx = await import("@mdx-js/rollup")
88
return {
9+
optimizeDeps: {
10+
include: ["react/jsx-runtime"],
11+
},
912
plugins: [
1013
react(),
1114
mdx.default({ remarkPlugins: [[remarkCodeHike, { theme }]] }),
1215
],
13-
resolve: {
14-
alias: {
15-
"react/jsx-runtime": "react/jsx-runtime.js",
16-
},
17-
},
1816
}
1917
})

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"build:lib": "lerna run --stream --scope @*/mdx build",
1313
"test": "lerna run --stream test",
1414
"dev": "lerna run --stream --scope @*/mdx dev",
15-
"storybook": "lerna run --scope storybook start --stream",
1615
"release": "auto shipit"
1716
},
1817
"devDependencies": {

packages/storybook/package.json

-31
This file was deleted.

0 commit comments

Comments
 (0)