From ab31be4fe8130f4e453946e7504a8ddf74fa8e83 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Wed, 13 Sep 2017 22:54:10 -0500 Subject: [PATCH] refactor(): remove deprecated rollup config --- config/rollup.config.js | 56 ----------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 config/rollup.config.js diff --git a/config/rollup.config.js b/config/rollup.config.js deleted file mode 100644 index 4e1b19ed..00000000 --- a/config/rollup.config.js +++ /dev/null @@ -1,56 +0,0 @@ -var nodeResolve = require('rollup-plugin-node-resolve'); -var commonjs = require('rollup-plugin-commonjs'); -var globals = require('rollup-plugin-node-globals'); -var builtins = require('rollup-plugin-node-builtins'); -var json = require('rollup-plugin-json'); - - -// https://github.com/rollup/rollup/wiki/JavaScript-API - -var rollupConfig = { - /** - * entry: The bundle's starting point. This file will - * be included, along with the minimum necessary code - * from its dependencies - */ - entry: process.env.IONIC_APP_ENTRY_POINT, - - /** - * sourceMap: If true, a separate sourcemap file will - * be created. - */ - sourceMap: true, - - /** - * format: The format of the generated bundle - */ - format: 'iife', - - /** - * dest: the output filename for the bundle in the buildDir - */ - dest: process.env.IONIC_OUTPUT_JS_FILE_NAME, - - /** - * plugins: Array of plugin objects, or a single plugin object. - * See https://github.com/rollup/rollup/wiki/Plugins for more info. - */ - plugins: [ - builtins(), - commonjs(), - nodeResolve({ - module: true, - jsnext: true, - main: true, - browser: true, - extensions: ['.js'] - }), - globals(), - json() - ] - -}; - - - -module.exports = rollupConfig;