Trying to fix dependecies

This commit is contained in:
radswiat 2017-04-12 21:53:56 +01:00
parent 814e3699d5
commit d5315a004c
5 changed files with 29372 additions and 448 deletions

View file

@ -1,4 +1,4 @@
// [AIV] Build version: 0.6.0 // [AIV] Build version: 0.13.4
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -71,7 +71,7 @@
/* 0 */ /* 0 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
module.exports = "<!DOCTYPE html><html lang=en><head><meta charset=UTF-8><title>Title</title></head><body><span>My awesome project | 0.6.0></span></body></html>" module.exports = "<!DOCTYPE html><html lang=en><head><meta charset=UTF-8><title>Title</title></head><body><span>My awesome project | 0.13.4></span></body></html>"
/***/ }), /***/ }),
/* 1 */ /* 1 */

View file

@ -16,6 +16,6 @@
"webpack": "^2.3.3" "webpack": "^2.3.3"
}, },
"dependencies": { "dependencies": {
"webpack-auto-inject-version": "^0.5.1" "webpack-auto-inject-version": "^0.5.5"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{ {
"name": "webpack-auto-inject-version", "name": "webpack-auto-inject-version",
"version": "0.5.5", "version": "0.5.10",
"repository": "radswiat/webpack-auto-inject-version", "repository": "radswiat/webpack-auto-inject-version",
"description": "Webpack plugin for auto inject version from package.json", "description": "Webpack plugin for auto inject version from package.json",
"main": "dist/WebpackAutoInjectVersion.js", "main": "dist/WebpackAutoInjectVersion.js",
@ -9,7 +9,7 @@
}, },
"author": "Radoslaw Swiat", "author": "Radoslaw Swiat",
"license": "ISC", "license": "ISC",
"dependencies": { "devDependencies": {
"bluebird": "^3.4.6", "bluebird": "^3.4.6",
"chalk": "^1.1.3", "chalk": "^1.1.3",
"lodash": "^4.17.4", "lodash": "^4.17.4",
@ -33,5 +33,8 @@
"gutil": "^1.6.4", "gutil": "^1.6.4",
"webpack": "^2.3.3", "webpack": "^2.3.3",
"webpack-node-externals": "^1.5.4" "webpack-node-externals": "^1.5.4"
},
"dependencies": {
} }
} }

View file

@ -1,11 +1,11 @@
import path from 'path'; import path from 'path';
const webpack = require('webpack'); const webpack = require('webpack');
import nodeExternals from 'webpack-node-externals'; // import nodeExternals from 'webpack-node-externals';
export default { export default {
target: 'node', target: 'node',
externals: [nodeExternals()], // externals: [nodeExternals()],
entry: './src/main.js', entry: ['babel-polyfill', './src/main.js'],
resolve: { resolve: {
extensions: ['.js'] extensions: ['.js']
}, },