We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got the below build configuration file
baseUrl: ".", //paths to modules paths: { widgetModel: "model/widget", widgetView: "views/widget", widgetsView: "views/widgets", widgets: "collection/widgets", appView: "views/app", widgetCreate: "views/create", text: "../library/text", localStore: "../library/store", disabledWidgets: "views/disabledWidget" }, //exclude templates for fast development excludeShallow: ["views/widget", "views/widgets", "views/app", "views/create", "views/disableWidget"], //name of optimized file name: "app", dir: "output", keepBuildDir: false })
It does the below
Here's what i want it to do
require()
app-build.js
output
What is the modified config for my requirement.
The text was updated successfully, but these errors were encountered:
If you want to exclude all text templates, set inlineText: false.
Then add 'text' and the localstorage plugin to the 'excludeShallow' list. More details on all the config options here:
https://github.com/jrburke/r.js/blob/master/build/example.build.js
If you only want one JS file built, instead of using dir: use out: for a single JS file build.
Sorry, something went wrong.
No branches or pull requests
I got the below build configuration file
It does the below
Here's what i want it to do
require()
commands or some other fancy way) from the buildapp-build.js
app-build.js
is the only file insideoutput
folderWhat is the modified config for my requirement.
The text was updated successfully, but these errors were encountered: