Comments (3)
EDIT: I see the error. My Rollup configuration file is actually empty.
The error seems to occur here:
Line 64 in 2d491bb
A possible solution would be to check if opts
isn't undefined
without destructuring it~~, but I'm unsure as to why it wouldn't be defined (especially when it's pointed at a valid configuration file)~~.
So mergeOptions
is called here:
Line 30 in dfe1060
It seems like you aren't checking the value of the import([...])
call before destructuring it. One possible solution would be to throw if a --config
value has been provided, and one of the following apply:
- the path doesn't exist
- the exported value isn't correct
Would you like me to submit a PR?
from denopack.
P.S. nice code-base, keep it up! Love seeing clean code in the wild.
from denopack.
I'm still not sure why the import(...)
call does not yield the value exported in my configuration. Perhaps there's an error somewhere with the import paths?
from denopack.
Related Issues (19)
- DENO_DIR is not set HOT 5
- Support for top-level await HOT 11
- bug: non root html emit does not work HOT 1
- Support import maps HOT 2
- [BUG] pluginCssBundle doesn't resolve locations correctly
- deno fmt precommit hook
- Remote debugging in VS Code HOT 1
- Multiple decorators are not getting called HOT 2
- [BUG] Installation error in Deno 1.5.x: CertNotValidForName HOT 4
- [BUG] Getting a 500 Internal Server Error while installing HOT 1
- [BUG] Debugging experience is very poor HOT 4
- [BUG] Ignores directories in output filename/sourcemap HOT 1
- [Problem]: No longer works with Deno 1.7.0
- [BUG] Can't install (No such host is known.)
- Move readme to docs site
- TS error in rollup dependency on package install/run HOT 8
- Frontend related roadmap
- Polyfilled Node version of Rollup
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 denopack.