angular-rollup
Advanced tools
Changelog
1.0.6
Changelog
1.0.5
Changelog
1.0.3
ngr build prod --universal
.--universal
flag with ngr scaffold
. Currently also requires --rollup
to bundle the production build.--tsConfig --rollupConfig --template
options to ngr build
, allows you to test different config with the current build without overwriting a stable configngr scaffold --universal
ngr build prod --universal --serve
The universal build overwrites the dist folder and creates the following file/folder structure for deployment to production.
dist/frontend
dist/backend
package.json
server.universal.js
Changelog
1.0.2
lazy.config.json
from being deployed to build folder when using ngr build dev
package.json
Changelog
1.0.1
To migrate an existing library, simply change the baseUrl
property in the tsconfig files to "./src" and move all library files into path/to/lib/src
, update paths in your index.ts
.
Changelog
1.0.0-rc.6
--postcss true
if you need to compile dev to test in older browsers.ngr generate
Changelog
1.0.0-rc.5
build.config.js
in favor of namespaced file, new scaffolded apps default to ngr.config.js
ngr.config.js
to include the bare minimumpostcss-csso
instead of css-nano
for new scaffolded apps to fix possible bugs with z-indexIf you wish you migrate to ngr.config.js
rename the build.config.js
file (mv build.config.js ngr.config.js
) and update references to build.config.js
in server.js
and router.js
. The build scripts will continue to check for build.config.js until we choose to deprecate backwards compatibility in a later release.
Changelog
1.0.0-rc.4
ngr.config.js
file to root of any existing project to use cli commands. This file can be empty. This feature allows library builds in an existing app.rollup.config.json
from default scaffold, use ngr scaffold --rollup
flag to get it backngr scaffold --server false
ngr scaffold --bare
cli.config.js
, builds now reference ngr.config.js
or build.config.js
jsconfig.json
ngr.config.js
and using buildHooks in build.config.js