Skip to content

Commit

Permalink
Merge 7c58d79 into f1a5ad0
Browse files Browse the repository at this point in the history
  • Loading branch information
srhb18 committed Sep 21, 2018
2 parents f1a5ad0 + 7c58d79 commit 3709457
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.1

`CHANGED` support js style export

## 1.3.0

`CHANGED` fit React@15
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-grid",
"version": "1.3.0",
"version": "1.3.1",
"description": "uxcore-grid component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-grid.git",
"author": "eternalky",
Expand Down
1 change: 1 addition & 0 deletions style/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '../src/Grid.less';
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 3709457

Please sign in to comment.