Skip to content

Commit

Permalink
Build(yarn): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Armour committed Nov 2, 2018
1 parent 51a9223 commit 82f3e2f
Show file tree
Hide file tree
Showing 4 changed files with 369 additions and 106 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"@types/react-dom": "^16.0.9",
"@types/react-loadable": "^5.4.1",
"@types/react-redux": "^6.0.9",
"@types/react-router": "^4.0.32",
"@types/react-router": "^4.4.0",
"@types/react-router-dom": "^4.3.1",
"@types/redux-logger": "^3.0.6",
"@types/uuid": "^3.4.4",
"@types/webpack-env": "^1.13.6",
"add-asset-html-webpack-plugin": "^3.1.1",
"add-asset-html-webpack-plugin": "^3.1.2",
"awesome-typescript-loader": "^5.2.1",
"axios": "^0.18.0",
"babel-loader": "^8.0.4",
Expand All @@ -64,9 +64,9 @@
"connect-redis": "^3.4.0",
"connected-react-router": "^4.5.0",
"cookie-parser": "^1.4.3",
"copy-webpack-plugin": "^4.5.4",
"copy-webpack-plugin": "^4.6.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"css-loader": "^1.0.1",
"cssnano": "^4.1.7",
"dotenv-webpack": "^1.5.7",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
Expand All @@ -80,7 +80,7 @@
"i18next": "^12.0.0",
"i18next-browser-languagedetector": "^2.2.3",
"image-webpack-loader": "^4.4.0",
"immutable": "4.0.0-rc.11",
"immutable": "4.0.0-rc.12",
"materialize-css": "1.0.0",
"mini-css-extract-plugin": "^0.4.4",
"morgan": "^1.9.1",
Expand All @@ -97,7 +97,7 @@
"react": "^16.6.0",
"react-content-loader": "^3.2.0",
"react-dom": "^16.6.0",
"react-hot-loader": "^4.3.11",
"react-hot-loader": "^4.3.12",
"react-i18next": "^8.3.5",
"react-loadable": "^5.5.0",
"react-redux": "^5.1.0",
Expand All @@ -109,8 +109,8 @@
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"trash-cli": "^1.4.0",
"ts-loader": "^5.2.2",
"typescript": "^3.1.3",
"ts-loader": "^5.3.0",
"typescript": "^3.1.6",
"url-loader": "^1.1.2",
"uuid": "^3.3.2",
"webpack": "^4.23.1",
Expand All @@ -121,7 +121,7 @@
},
"devDependencies": {
"@babel/node": "^7.0.0",
"@types/jest": "^23.3.8",
"@types/jest": "^23.3.9",
"@types/react-test-renderer": "^16.0.3",
"babel-core": "7.0.0-bridge.0",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
Expand All @@ -135,11 +135,11 @@
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"husky": "1.1.2",
"husky": "1.1.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"react-test-renderer": "^16.6.0",
"stylelint": "^9.7.0",
"stylelint": "^9.7.1",
"stylelint-config-standard": "^18.2.0",
"ts-jest": "^23.10.4",
"tslint": "^5.11.0",
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.base.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import ProgressBarWebpackPlugin from 'progress-bar-webpack-plugin';

const ReactManifest = './frontend/dist/dll/react_manifest.json';
const I18nextManifest = './frontend/dist/dll/i18next_manifest.json';
const ImmutableManifest = './frontend/dist/dll/immutable_manifest.json';
const MaterializeManifest = './frontend/dist/dll/materialize_manifest.json';
const devMode = process.env.NODE_ENV !== 'production';
Expand Down Expand Up @@ -135,6 +136,7 @@ export default {
new DuplicatePackageCheckerPlugin(),
// Load pre-build dll reference files
new webpack.DllReferencePlugin({ manifest: ReactManifest }),
new webpack.DllReferencePlugin({ manifest: I18nextManifest }),
new webpack.DllReferencePlugin({ manifest: ImmutableManifest }),
new webpack.DllReferencePlugin({ manifest: MaterializeManifest }),
// Extract css part from javascript bundle into separated file
Expand Down
5 changes: 5 additions & 0 deletions webpack.config.dll.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ const materializeVendors = [
'materialize-css',
];

const i18nextVendors = [
'i18next',
];

const config = {
// Get mode from NODE_ENV
mode: process.env.NODE_ENV,
Expand All @@ -37,6 +41,7 @@ const config = {
react: reactVendors,
immutable: immutableVendors,
materialize: materializeVendors,
i18next: i18nextVendors,
},

// Affecting the output of the compilation
Expand Down
Loading

0 comments on commit 82f3e2f

Please sign in to comment.