Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Rollup bundler even when Webpack is specified? #222

Closed
alan-agius4 opened this issue Oct 24, 2016 · 3 comments
Closed

Rollup bundler even when Webpack is specified? #222

alan-agius4 opened this issue Oct 24, 2016 · 3 comments

Comments

@alan-agius4
Copy link
Contributor

Short description of the problem:

I noticed that rollup is always used for bundling even when I specify to use Webpack.

What behavior are you expecting?

Webpack to be used.

Steps to reproduce:

  1. Change the output filename of rollup and webpack through configs.

The following error is show

  "config": {
    "ionic_webpack": "./build/config/webpack.config.js",
    "ionic_rollup": "./build/config/rollup.config.js",
    "ionic_bundler": "webpack"
  },
  "scripts": {
    "ngc": "ionic-app-scripts ngc",
    "bundle": "ionic-app-scripts bundle --webpack"
  },

Which @ionic/app-scripts version are you using?
0.0.36

@chrste90
Copy link

I think Webpack only works on 0.0.37.

@jgw96
Copy link
Contributor

jgw96 commented Oct 24, 2016

Hello, thanks! Our webpack build is in the beta release of app-scripts (v0.0.37) right now, although it will be in a stable release soon. To install the beta you can run npm install @ionic/app-scripts@beta --save-dev.

@jgw96 jgw96 closed this as completed Oct 24, 2016
@alan-agius4
Copy link
Contributor Author

Tried to the use the 0.0.37 but for some reason NGC files are not
generated.

On Monday, 24 October 2016, Justin Willis [email protected] wrote:

Closed #222 #222.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#222 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQv-WnRrgQC2SnrcW7f0PfaS51k3NQy7ks5q3NlfgaJpZM4KegeB
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants