Comments (5)
-
FuseBox API is included
Remove imports of FuseBox API, it's global.
just use
declare const FuseBox : any
We will fix typings later -
FuseBox.import() yes that's an issue. Will check it
from fuse-box.
UPD:
FuseBox.import('./about.module.js',(data) => {
})
Returns module.exports
of that FILE, not the fusebox API
from fuse-box.
1.3.70
returns undefined if a request returns anything else than 200
from fuse-box.
I did not get about issue 1, will it be fixed later? And when declare const FuseBox : any
will added to contents?
FuseBox.import('./about.module.js',(data) => {
})
data
is fusebox, not a module.exports
Contents of about.module.js
http://pastebin.com/fju2KVwM (it fusebox) why it should be module.exports
I did not specified any options to exclude fb api.
Config is same as for main (except entry point).
main: [>main.ts]
about.module: [about.module.ts]
from fuse-box.
@unlight you don't import FuseBox at any time in your code. I will make a check in AST later to avoid that.
FuseBox.import('./about.module.js',(data) => {
})
If about.module.js
is found then you will get whatever that module exports (regular practice).
Based on what you pasted, your code does not have any entry point. First thing off - you should rebundle your about.module.js
with an entry point.
Cheers
from fuse-box.
Related Issues (20)
- pluginConsolidate not working HOT 1
- "manifest" RunProps are ignored
- css background-image url with @ in path is not managed as resource HOT 7
- incorrect removal of parentheses in `(-(--t))`
- fuse-box@4 vue2.x.x .vue files support
- Log output indicates that `'@'` characters in file paths are changed into `'undefined'`
- Incorrect processing of awaited brackets
- ESM output support HOT 3
- Node_modules folder debug HOT 1
- node-sass is deprecated HOT 2
- Sass, and non-existent .css.map files HOT 2
- Failed to resolve %23clip in a css file HOT 4
- Transpilation Error with fuse-box 4.0.0 (or maybe I'm simply blind) HOT 1
- 4.0.0 Dependency bundled as two separate instances in production build
- `rootDir` does not exist in type IPublicOutputConfig
- Cannot find module: fuse-box/sparky HOT 7
- Is it possible to share an assets folder between two projects?
- Support Angular 13
- TypeError: Cannot read property 'filename' of undefined HOT 4
- Archive project
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 fuse-box.