* feat: add hydration to Solid renderer * fix: intersection observer, move script to the end Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
This commit is contained in:
parent
935831c79c
commit
1bd3cf8f4d
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ export default {
|
||||||
server: './server',
|
server: './server',
|
||||||
external: ['solid-js/web/dist/server.js', 'solid-js/store/dist/server.js', 'solid-js/dist/server.js', 'babel-preset-solid'],
|
external: ['solid-js/web/dist/server.js', 'solid-js/store/dist/server.js', 'solid-js/dist/server.js', 'babel-preset-solid'],
|
||||||
knownEntrypoints: ['solid-js', 'solid-js/web', 'solid-js/store', 'solid-js/html', 'solid-js/h'],
|
knownEntrypoints: ['solid-js', 'solid-js/web', 'solid-js/store', 'solid-js/html', 'solid-js/h'],
|
||||||
|
external: ['solid-js/web/dist/server.cjs', 'solid-js/store/dist/server.cjs', 'solid-js/dist/server.cjs', 'babel-preset-solid'],
|
||||||
jsxImportSource: 'solid-js',
|
jsxImportSource: 'solid-js',
|
||||||
jsxTransformOptions: async ({ isSSR }) => {
|
jsxTransformOptions: async ({ isSSR }) => {
|
||||||
const [{ default: solid }] = await Promise.all([import('babel-preset-solid')]);
|
const [{ default: solid }] = await Promise.all([import('babel-preset-solid')]);
|
||||||
|
|
Loading…
Reference in a new issue