jit.js | JIT Assembler in javascript | Emulator library
kandi X-RAY | jit.js Summary
kandi X-RAY | jit.js Summary
JIT Assembler in javascript
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jit.js
jit.js Key Features
jit.js Examples and Code Snippets
Community Discussions
Trending Discussions on jit.js
QUESTION
I am trying to implement AOT and Rollup per https://angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#tree-shaking
I run rollup per:"node_modules/.bin/rollup" -c scripts/rollup-config.js
and the result is a build.js file with just the entry file and nothing else. There are no errors and just one warning: "'default' is imported from external module 'rollup' but never used"
The "aot" folder does contain all the relevant compiled ngfactory files.
Following is the entry file:
...ANSWER
Answered 2017-Feb-04 at 04:43For AOT to work, you'll need to ensure that you're generating es6 module loading syntax:
Rollup can only Tree Shake ES2015 modules which have import and export statements.
tsconfig.json:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jit.js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page