Closed bobaaaaa closed 3 years ago
Thanks for your hints. The problem with the SNAPSHOT is fixed now with release 1.2.5. I could reproduce the problem with package.json. This issue stays open until it is fixed too.
Webpack can do this, too. Here's an example.
If needed I can support on this.
👍 Would be useful to be able to import the module cleanly, rather than having to point to a file in the release folder.
When I add oil as a npm dependency (via
yarn add @ideasio/oil.js
) themain
field of thepackage.json
points to a dev server. A better option would be:See example with rollup (I could not find an example with webpack): https://github.com/rollup/rollup-starter-lib
For ES6+ project the import would be:
import '@ideasio/oil.js';
Info: When I install the latest version (1.2.4) the
oil.min.js
says/*! 1.2.4-SNAPSHOT */
. I think thats not correct.