ionic-team / stencil-redux

MIT License
97 stars 20 forks source link

dist/index.js file is referencing incorrect path #89

Open mvarrieur opened 4 years ago

mvarrieur commented 4 years ago

When building this library using npm run build the dist/index.js file that is output looks like the following:

// stencilredux: CommonJS Main
module.exports = require("../esm/index.js");

Since it lives in the same folder as the esm folder I think it should look like:

// stencilredux: CommonJS Main
module.exports = require("./esm/index.js");

Unsure if this is a configuration issue, I can't figure out how these paths are being generated.