Closed shanoaice closed 5 years ago
Just try to import 'snabbdom-jsx' and use resolve with no plugin.
Resolve the snabbdom-jsx package and bundle it.
It gives a notice that snabbdom-jsx could not be resloved and treats it as a external.
Snippet here:
import { Store, Subscriber } from './Store'; import Component from './Component'; export const Event = require('eventemitter3'); export { render } from './render'; export { html as h } from 'snabbdom-jsx'; export default { Store, Component, Subscriber };
I uses rollup in gulp.
my fault it's a spelling error in the rollup config.
How Do We Reproduce?
Just try to import 'snabbdom-jsx' and use resolve with no plugin.
Expected Behavior
Resolve the snabbdom-jsx package and bundle it.
Actual Behavior
It gives a notice that snabbdom-jsx could not be resloved and treats it as a external.
Snippet here: