Closed guimard closed 5 years ago
Then of course "files" field must be adjusted
Which version of this plugin do you use?
3.0.0
Show me your rollup config
import buble from 'rollup-plugin-buble';
var pkg = require('./package.json');
export default {
entry: 'index.js',
plugins: [buble()],
targets: [
{
format: 'cjs',
dest: pkg['main']
},
{
format: 'es6',
dest: pkg['jsnext:main']
}
]
};
I packaged it for Debian
Are you sure you wanted to post this issue in rollup-plugin-string repo?
Your "mocha" test succeeds with my patch and fails without
I tried to compile rollup-plugin-string for Debian and to enable your test, where else do you want to post this issue ?
I removed build step from this project long time ago. There is only index.js and main field points to it. There is no dist
and not rollup.config.js anymore.
So I don't follow what is your issue.
Oups sorry, another developer made something wrong on Debian repo. Sorry for the noise
Hi,
package.json "main" field points to
index.js
. This fails with node 10.15.2. I replaced this value bydist/rollup-plugin-string.js
then it succeed. Am I wrong ?