-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP on getting app-prop-viewer to load. Seems to get to component now… #3
WIP on getting app-prop-viewer to load. Seems to get to component now… #3
Conversation
…r font and added component to load the external css files
…, but no visual Signed-off-by: 1000TurquoisePogs <[email protected]>
@@ -56,7 +56,7 @@ | |||
"sourceMap": true | |||
} | |||
}, | |||
"defaultConfiguration": "production" | |||
"defaultConfiguration": "development" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
development, i need to see the source in the browser to debug.
it can be production when we're ready.
@@ -9,7 +9,7 @@ | |||
"scripts": { | |||
"build:externals": "webpack --progress --config webpack.externals.js", | |||
"start": "webpack --watch --progress", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also update start script to be
"ng build --watch"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
small addition: zowe#606 |
86ba78a
to
6430bd8
Compare
6430bd8
to
13145ea
Compare
ng build
to the package.json build instruction so you cannpm run build
because I never put npm tools in my global path and we dont tell people to either.Before this, the app would try to do a GET on
web/@angular/core/core.js
After, it makes no request at all.
Neither does desktop.js. The "externals" seem to work in the same way they always have, but now without the need for a separate "externals.js" and "externals-main.js"
NOTE:
ng build
removesrequire.js
from the web folder. After building you still need tocp node_modules/requirejs/require.js web/
...