Webpack.config.js missed in latest Ionic V2


#1

I linked to ionic platform web client bundle js by means of webpack.config.js. But I couldnt find webpack.config.js in root folder of Ionic Project. How can I add ionic platform web client ?

{
  "dependencies": {
    "angular2": "2.0.0-beta.6",
    "es6-promise": "3.0.2",
    "es6-shim": "0.33.13",
    "ionic-angular": "2.0.0-beta.3",
    "ionic-native": "^1.1.0",
    "ionicons": "3.0.0-alpha.3",
    "reflect-metadata": "0.1.2",
    "rxjs": "5.0.0-beta.0",
    "zone.js": "0.5.14"
  },
  "devDependencies": {
    "babel-plugin-transform-decorators-legacy": "1.3.4",
    "babel-preset-es2015": "6.6.0",
    "babelify": "7.2.0",
    "del": "2.2.0",
    "gulp": "3.9.1",
    "gulp-watch": "4.3.5",
    "ionic-gulp-browserify-es2015": "^1.0.0",
    "ionic-gulp-fonts-copy": "^1.0.0",
    "ionic-gulp-html-copy": "^1.0.0",
    "ionic-gulp-sass-build": "^1.0.0",
    "ionic-gulp-scripts-copy": "^1.0.0"
  },
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-console",
    "cordova-plugin-whitelist",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard",
    {
      "variables": {
        "SENDER_ID": "GCM_PROJECT_NUMBER"
      },
      "locator": "phonegap-plugin-push",
      "id": "phonegap-plugin-push"
    }
  ],
  "cordovaPlatforms": [
    "ios"
  ],
  "name": "...",
  "description": "...: description"
}

#2

Latest Ionic use Browserify


#3

Thank you! Please, can you tell me how can I add ionic platform web client correctly ?


#4

You can npm install the library. But just a heads up, none of the platform (push, deploy, etc) works with V2 at the moment. So hold off on using them together.


#5

I used Push Notification when Ionic V2 used webpack by means of this post:

So I wanted to add ionic web client like this way but on browserify :disappointed:

Could you tell when we can use push and deploy in ionic V2 project ?