53 Commits

Author SHA1 Message Date
Michael Shilman
87ce9b91ce v7.0.0-alpha.29 2022-09-03 00:03:50 +08:00
Michael Shilman
bc41d6666c Merge branch 'next' into vite/plugin-cleanup 2022-09-02 18:41:42 +08:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Ian VanSchooten
9a5adca82e Fix paths to input files 2022-09-01 21:52:51 -04:00
Ian VanSchooten
b70251e25a Use Vite 3.1.0-beta.1 in dev
We need this to support the new object hooks
2022-09-01 16:18:50 -04:00
Ian VanSchooten
351b4f1ad6 Handle rollup hook objects 2022-09-01 16:12:45 -04:00
Ian VanSchooten
119a2d45f1 Use consistent vite plugin names
This will make them easier to understand in debug logs, for instance.
2022-09-01 16:02:57 -04:00
Ian VanSchooten
e39716fffa Move all plugins into /plugins 2022-09-01 15:59:10 -04:00
Ian VanSchooten
0b124c55a7 Remove unneeded no-fouc plugin
The issue was fixed in vite prior to 3.0, which is the lowest version we support now.
2022-09-01 15:51:57 -04:00
Norbert de Langen
9d198e55fa
Merge pull request #19077 from storybookjs/chore/rename-prepare
chore: rename prepare script to prep
2022-09-01 21:16:33 +02:00
Michael Shilman
bb24ba7d94 Update git head to 7.0.0-alpha.28, update yarn.lock [ci skip] 2022-09-02 00:56:18 +08:00
Michael Shilman
941b85ce04 v7.0.0-alpha.28 2022-09-02 00:52:03 +08:00
Katerina Skroumpelou
5c5367b33c chore: rename prepare script to prep 2022-09-01 15:56:01 +03:00
Ian VanSchooten
c90f9b4f6b Merge remote-tracking branch 'origin/next' into vite-autoconfig
# Conflicts:
#	code/lib/builder-vite/src/vite-config.ts
2022-08-31 23:05:28 -04:00
Ian VanSchooten
0aca22eb32 Extract getFrameworkName to core-common 2022-08-31 08:24:45 -04:00
Ian VanSchooten
9e017a48cd Remove unused types 2022-08-31 08:24:45 -04:00
Ian VanSchooten
872b1dfc05 Fix framework option checks 2022-08-31 08:24:45 -04:00
Ian VanSchooten
e225946377 Add excludes for non-react framework react plugin
We just need it for processing mdx, it doesn't need to hmr anything.
2022-08-30 23:24:52 -04:00
Ian VanSchooten
139bfdc901 Remove unused variable 2022-08-30 23:24:52 -04:00
Ian VanSchooten
b2f61d7826 Remove hmr accept calls from story files 2022-08-30 23:24:52 -04:00
Ian VanSchooten
9647bf2d23 Vite: use vite.config.js as config base 2022-08-30 23:24:52 -04:00
Michael Shilman
ac2182761a Update git head to 7.0.0-alpha.27, update yarn.lock [ci skip] 2022-08-31 11:03:14 +08:00
Michael Shilman
3e33f0709d v7.0.0-alpha.27 2022-08-31 10:58:47 +08:00
Tom Coleman
f263f42991 Set resolve.preserveSymlinks in Vite based on env vars
Similar to how we do in webpack.
2022-08-29 11:08:48 +10:00
Michael Shilman
df6da4cc51 Update git head to 7.0.0-alpha.26, update yarn.lock [ci skip] 2022-08-26 19:17:00 +08:00
Michael Shilman
e5c9cfe1d0 v7.0.0-alpha.26 2022-08-26 19:12:35 +08:00
Michael Shilman
00ccb9ac4b Merge branch 'next' into svelte-vite-framework 2022-08-26 09:24:50 +08:00
Michael Shilman
03b6c00902 Update git head to 7.0.0-alpha.25, update yarn.lock [ci skip] 2022-08-25 22:49:49 +08:00
Michael Shilman
058af8bac4 v7.0.0-alpha.25 2022-08-25 22:45:32 +08:00
Michael Shilman
3a22d4cd80 Builder-vite: Tighten up tsconfig.json 2022-08-25 21:50:31 +08:00
Michael Shilman
1e20308330 Vite: Delete core-vite and cursory first cut at types 2022-08-25 21:41:09 +08:00
Ian VanSchooten
49e21de028 Cleanup unused variables 2022-08-24 14:57:57 -04:00
Michael Shilman
b049235a99 Merge branch 'next' into vite-frameworks-clean 2022-08-25 02:32:51 +08:00
Michael Shilman
f1481d1584 Builder-vite: Add support for previewEntries preset 2022-08-24 11:26:25 +08:00
Michael Shilman
46ba568c60 Builder-vite: Add support for V7 story root 2022-08-24 11:26:00 +08:00
Michael Shilman
8846a42bc7 Merge branch 'vite-frameworks' into svelte-vite-framework 2022-08-22 22:56:44 +08:00
Michael Shilman
07f8ad4397 Fix build errors 2022-08-22 22:27:42 +08:00
Michael Shilman
9c66e64796 Merge branch 'vite-frameworks' into svelte-vite-framework 2022-08-22 17:11:43 +08:00
Michael Shilman
8a0029d32e Merge branch 'next' into vite-frameworks 2022-08-22 17:02:30 +08:00
Michael Shilman
7b897a1368 Merge branch 'vite-frameworks' into svelte-vite-framework 2022-08-22 12:42:01 +08:00
Michael Shilman
00465bac08 Remove unnecessary file 2022-08-22 12:41:39 +08:00
Michael Shilman
498575b299 Svelte: Add svelte-vite framework (WIP) 2022-08-22 12:40:53 +08:00
Michael Shilman
a3cec55d74 Remove vue-specific code from vite builder 2022-08-18 23:12:13 +08:00
Michael Shilman
fd0de665a3 Merge branch 'next' into vite-frameworks 2022-08-17 23:53:12 +08:00
Ian VanSchooten
c4f456d945 Disable source loader plugin
It seems to have broken, maybe after 631795b23e
2022-08-14 23:02:42 -04:00
Ian VanSchooten
aaedc2a615 Remove plugins that moved to react-vite 2022-08-14 22:57:03 -04:00
Ian VanSchooten
67456fd3fb Fix linting / typescript errors 2022-08-14 22:53:27 -04:00
Ian VanSchooten
1f3c1f8cf1 Move input files out of src
They need to be accessible from dist, as well
2022-08-14 22:52:09 -04:00
Michael Shilman
01e3663b76 Vite core, react, and example app (WIP) 2022-08-14 11:50:22 +08:00
Ian VanSchooten
ecfc44417b Fix (most) linting errors 2022-08-13 00:39:05 -04:00