Comments (2)
Can you show me your rollup.config.js
?
Have you tried using global.require
or using an alias for require
instead?
Here's an example of using native require in an Electron app: https://github.com/PepsRyuu/mocha-istanbul-ui/blob/master/src/ext/CoverageInstrumenter.js
from nollup.
Using global.require
worked! Thank you
from nollup.
Related Issues (20)
- Import error JsZip HOT 3
- HTTPS - Exposing ca option HOT 1
- Nollup for backend HOT 1
- Add missing resolveId options HOT 2
- npm link nollup build to my app HOT 9
- Support of AMD format? HOT 6
- Source maps do not work with @rollup/plugin-typescript HOT 5
- Cannot import testdouble: rendering invalid hoisted variable HOT 10
- "Connection" header overwritten by proxy for WS HOT 4
- Support for TypeScript rollup config HOT 3
- `this.load` is not a function (with @rollup/plugin-commonjs) HOT 4
- facing ParseError: /node_modules/preact/compat/dist/compat.module.js/jsx-runtime.js HOT 1
- facing ParseError: /node_modules/preact/compat/dist/compat.module.js/jsx-runtime.js HOT 2
- if (module) { } can cause a potential error. HOT 17
- Nollup not guessing output.globals names HOT 7
- DevServer API error on CommonJs: TypeError: plugin.execute[hook].apply is not a function HOT 3
- Can't use `rollup.config.mjs` HOT 1
- remove path from output index.html file
- Nollup not compatible with Rollup 3 HOT 2
- ParseError: \src\@prefresh\nollup\src\runtime.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nollup.