Skip to content

Commit

Permalink
ver. 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SurfaceW committed Sep 13, 2018
1 parent 530dd9d commit d6ed31b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-float-nav",
"version": "0.3.1",
"version": "0.3.2",
"description": "uxcore-float-nav component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-float-nav.git",
"author": "vincent.bian",
Expand Down
2 changes: 2 additions & 0 deletions style/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import '../src/FloatNav.less';
import 'uxcore-kuma/style';
19 changes: 19 additions & 0 deletions webpack.custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const modifyVars = require('kuma-base/jsvars/orange');

/* eslint-disable no-param-reassign */
module.exports = (config) => {
config.module.rules.forEach((rule) => {
if (rule.test.toString() === /\.less$/.toString()) {
rule.use = [
'style-loader',
'css-loader',
{
loader: 'less-loader',
options: {
modifyVars,
},
},
];
}
});
};

0 comments on commit d6ed31b

Please sign in to comment.