diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-27 12:42:48 -0400 |
| commit | 210e8feae2fb4842bfb2de38666e6c41671fef3c (patch) | |
| tree | cbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/ionic-native-transitions/webpack.config.dist.min.js | |
| parent | e7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff) | |
removed lib
Diffstat (limited to 'www/lib/ionic-native-transitions/webpack.config.dist.min.js')
| -rw-r--r-- | www/lib/ionic-native-transitions/webpack.config.dist.min.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/www/lib/ionic-native-transitions/webpack.config.dist.min.js b/www/lib/ionic-native-transitions/webpack.config.dist.min.js deleted file mode 100644 index 6fb2dcb9..00000000 --- a/www/lib/ionic-native-transitions/webpack.config.dist.min.js +++ /dev/null @@ -1,39 +0,0 @@ -var path = require('path'), - libPath = path.join(__dirname, 'lib'), - distPath = path.join(__dirname, 'dist'), - webpack = require("webpack"), - pkg = require('./package.json'), - fs = require('fs'), - copyright = fs.readFileSync('./copyright.txt', 'utf8'), - HtmlWebpackPlugin = require('html-webpack-plugin'); - -copyright = copyright.replace('{pkg.name}', pkg.name) - .replace('{pkg.description}', pkg.description) - .replace('{pkg.version}', pkg.version) - .replace('{pkg.author}', pkg.author) - .replace('{pkg.homepage}', pkg.homepage) - .replace('{pkg.license}', pkg.license); - -module.exports = { - entry: path.join(libPath, 'index.js'), - output: { - path: distPath, - library: 'ionicNativeTransitions', - libraryTarget: "umd", - umdNamedDefine: true, - filename: 'ionic-native-transitions.min.js' - }, - module: { - loaders: [{ - test: /\.js$/, - exclude: /(node_modules|bower_components)/, - loader: "ng-annotate?add=true!babel" - }] - }, - plugins: [ - new webpack.optimize.OccurenceOrderPlugin(), - new webpack.optimize.DedupePlugin(), - new webpack.optimize.UglifyJsPlugin(), - new webpack.BannerPlugin(copyright) - ] -}; |
