You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of modifying node_modules/@ionic/app-scripts/config/rollup.config.js, the ionic-scripts provided option is to do the following:
Create folder config under ionic2.0-angularfire.
Copy the file node_modules/@ionic/app-scripts/config/rollup.config.js (with changes as mentioned by you) to the newly created config folder.
Change rollup.config.js in config folder as below
var ngTemplate = require('ng-template').ngTemplate;
to
var ngTemplate = require('./../node_modules/@ionic/app-scripts/dist/plugins/ng-template').ngTemplate;
Change the "scripts" entry for build in package.json as below -
build": "ionic-app-scripts build --rollup ./config/rollup.config.js --dev"
By doing the above, you can eliminate the need to modify a node module script and keep the configuration within your project.
The text was updated successfully, but these errors were encountered:
Instead of modifying node_modules/@ionic/app-scripts/config/rollup.config.js, the ionic-scripts provided option is to do the following:
var ngTemplate = require('ng-template').ngTemplate;
to
var ngTemplate = require('./../node_modules/@ionic/app-scripts/dist/plugins/ng-template').ngTemplate;
build": "ionic-app-scripts build --rollup ./config/rollup.config.js --dev"
By doing the above, you can eliminate the need to modify a node module script and keep the configuration within your project.
The text was updated successfully, but these errors were encountered: