rollup / rollup-plugin-node-resolve

This module has moved and is now available at @rollup/plugin-node-resolve / https://github.com/rollup/plugins/blob/master/packages/node-resolve
MIT License
469 stars 96 forks source link

Could not resolve snabbdom-js #235

Closed shanoaice closed 5 years ago

shanoaice commented 5 years ago

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:

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 };
shanoaice commented 5 years ago

I uses rollup in gulp.

shanoaice commented 5 years ago

my fault it's a spelling error in the rollup config.