mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
shamefully hoist to unblock
This commit is contained in:
parent
fa3cd4f53c
commit
1aa9fe43aa
1 changed files with 16 additions and 14 deletions
30
.npmrc
30
.npmrc
|
@ -3,17 +3,19 @@ prefer-workspace-packages=true
|
|||
link-workspace-packages=true
|
||||
save-workspace-protocol=false # This prevents the examples to have the `workspace:` prefix
|
||||
|
||||
# Rather than shamefully hoisting everything, just make problematic packages public
|
||||
public-hoist-pattern[]=autoprefixer
|
||||
public-hoist-pattern[]=astro
|
||||
public-hoist-pattern[]=remark-*
|
||||
public-hoist-pattern[]=rehype-*
|
||||
public-hoist-pattern[]=react
|
||||
public-hoist-pattern[]=react-dom
|
||||
public-hoist-pattern[]=preact
|
||||
public-hoist-pattern[]=preact-render-to-string
|
||||
public-hoist-pattern[]=vue
|
||||
public-hoist-pattern[]=svelte
|
||||
public-hoist-pattern[]=solid-js
|
||||
public-hoist-pattern[]=lit
|
||||
public-hoist-pattern[]=@webcomponents/template-shadowroot
|
||||
shamefully-hoist=true
|
||||
# TODO: We would like to move to individual opt-in hoisting, but Astro was not originally
|
||||
# written with this in mind. In the future, it would be good to hoist individual packages only.
|
||||
# public-hoist-pattern[]=autoprefixer
|
||||
# public-hoist-pattern[]=astro
|
||||
# public-hoist-pattern[]=remark-*
|
||||
# public-hoist-pattern[]=rehype-*
|
||||
# public-hoist-pattern[]=react
|
||||
# public-hoist-pattern[]=react-dom
|
||||
# public-hoist-pattern[]=preact
|
||||
# public-hoist-pattern[]=preact-render-to-string
|
||||
# public-hoist-pattern[]=vue
|
||||
# public-hoist-pattern[]=svelte
|
||||
# public-hoist-pattern[]=solid-js
|
||||
# public-hoist-pattern[]=lit
|
||||
# public-hoist-pattern[]=@webcomponents/template-shadowroot
|
||||
|
|
Loading…
Reference in a new issue