Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes in updates 0.1.x #18

Closed
bitbay opened this issue Nov 30, 2016 · 1 comment
Closed

Breaking changes in updates 0.1.x #18

bitbay opened this issue Nov 30, 2016 · 1 comment

Comments

@bitbay
Copy link

bitbay commented Nov 30, 2016

I´m happily using the plugin version 0.1.2, like

var includePaths = require('rollup-plugin-includepaths');
rollup({
    format: "iife",
    ...
    plugins: [
        includePaths({ /** options */ })
    ]
})

but the version 0.1.7 with the same usage returns:

TypeError: includePaths is not a function

I have already tried to turn it off and on again but no luck...

@bitbay
Copy link
Author

bitbay commented Nov 30, 2016

Had to use a new form of import, changing to

var includePaths = require('rollup-plugin-includepaths').default;

Also i'm glad to find the missing export to be present in the latest version (0.2.1)

module.exports = exports['default'];

so back to plain

var includePaths = require('rollup-plugin-includepaths');

closing issue.

@bitbay bitbay closed this as completed Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant