Skip to content

Commit

Permalink
fix: closes alibaba#1520
Browse files Browse the repository at this point in the history
  • Loading branch information
loadchange committed Jul 16, 2019
1 parent 5d019cb commit 2e4e4d7
Show file tree
Hide file tree
Showing 29 changed files with 187 additions and 8,414 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');

const [cssLoader] = base.module.rules;
cssLoader.use.push({
loader: '@alifd/next-theme-loader',
options: {
modifyVars: {
'$icon-font-path':'"/console-fe/public/icons/icon-font"',
'$font-custom-path': '"/console-fe/public/fonts/"'
}
}
})
module.exports = Object.assign({}, base, {
optimization: {
minimizer: [
Expand Down
5 changes: 3 additions & 2 deletions console/src/main/resources/static/console-fe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@
"url": "git+https://github.com/alibaba/nacos.git"
},
"devDependencies": {
"@alifd/next-theme-loader": "^1.3.1",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-decorators": "^7.2.3",
"@babel/preset-env": "^7.2.3",
"@babel/runtime": "^7.2.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-import": "^1.11.0",
"babel-plugin-import": "^1.12.0",
"babel-preset-react-app": "^6.1.0",
"clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^4.6.0",
Expand Down Expand Up @@ -63,7 +64,7 @@
"webpack-dev-server": "^3.1.13"
},
"dependencies": {
"@alifd/next": "^1.11.10",
"@alifd/next": "^1.15.12",
"axios": "^0.18.0",
"jquery": "^3.3.1",
"moment": "^2.23.0",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
8,397 changes: 0 additions & 8,397 deletions console/src/main/resources/static/console-fe/yarn.lock

This file was deleted.

2 changes: 1 addition & 1 deletion console/src/main/resources/static/css/main.css

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions console/src/main/resources/static/js/main.js

Large diffs are not rendered by default.

0 comments on commit 2e4e4d7

Please sign in to comment.