We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ee848 commit b049635Copy full SHA for b049635
playground/dynamic-import/nested/index.js
@@ -184,12 +184,16 @@ import(`../nested/nested/${base}.js`).then((mod) => {
184
},
185
186
]
187
+ const { log: bar } = await import('./treeshaken/syntax.js').then(
188
+ (mod) => mod.bar,
189
+ )
190
default1()
191
default2()
192
other()
193
foo()
194
foo2()
195
obj[1].lazy()
196
+ bar()
197
})()
198
199
import(`../nested/static.js`).then((mod) => {
playground/dynamic-import/nested/treeshaken/syntax.js
@@ -1,6 +1,11 @@
1
export const foo = () => {
2
console.log('treeshaken syntax foo')
3
}
4
+export const bar = {
5
+ log: () => {
6
+ console.log('treeshaken syntax bar')
7
+ },
8
+}
9
export default () => {
10
console.log('treeshaken syntax default')
11
0 commit comments