Skip to content

Commit

Permalink
refactor!: rename __ENABLE_HASH_DECODING__ to `__UNLAZY_HASH_DECODI…
Browse files Browse the repository at this point in the history
…NG__`
  • Loading branch information
johannschopplich committed Nov 6, 2023
1 parent 2cd4195 commit e718aae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default defineNuxtModule<ModuleOptions>({

extendViteConfig((config) => {
config.define = config.define || {}
config.define.__ENABLE_HASH_DECODING__ = true
config.define.__UNLAZY_HASH_DECODING__ = true
})

addComponent({
Expand Down
2 changes: 1 addition & 1 deletion packages/unlazy/vite.config.bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default defineConfig({
},
},
define: {
__ENABLE_HASH_DECODING__: false,
__UNLAZY_HASH_DECODING__: false,
},
})
2 changes: 1 addition & 1 deletion packages/unlazy/vite.config.bundle.with-hashing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export default defineConfig({
},

define: {
__ENABLE_HASH_DECODING__: true,
__UNLAZY_HASH_DECODING__: true,
},
})

0 comments on commit e718aae

Please sign in to comment.