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
468 stars 96 forks source link

native modules .node problem #234

Closed DanielMazurkiewicz closed 4 years ago

DanielMazurkiewicz commented 5 years ago

How Do We Reproduce?

yarn add atomic-counters

console.log(require('atomic-counters'));

Expected Behavior

const ac = require('./nameAsHashOfFileOrSomethingLikeThat.node');
// file .node in same directory as js file

Actual Behavior

const ac = require('../../build/Release/atomicCounters.node');
// that path is wrong, points to nothing
shellscape commented 4 years ago

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer: