This website requires JavaScript.
Explore
Help
Sign In
terribleplan
/
next.js
Watch
1
Star
0
Fork
You've already forked next.js
0
mirror of
https://github.com/terribleplan/next.js.git
synced
2024-01-19 02:48:18 +00:00
Code
Issues
Releases
Wiki
Activity
f94d24bffc
next.js
/
examples
/
with-ant-design-less
/
.babelrc
12 lines
143 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Added example for Ant Design with LESS (#4520) * Added example for Ant Design with LESS * Fix ESLINT
2018-06-07 11:14:27 +00:00
{
"presets": ["next/babel"],
"plugins": [
[
improved ant-design with less (#5847) Hey @timneutkens I've updated this example a bit. - Fixed `/asserts` spelling to `/assets`. - Removed the `/assets/styles.less` as importing this caused the entire ant-design css sheet to be loaded, now only the React components imported will have their styles loaded via the babel plugin which was already configured. Resulted in dropping the CSS for this example from ~630kb to ~220kb. - Removed `index.js` as it's not needed.
2018-12-10 11:20:01 +00:00
"import", {
Added example for Ant Design with LESS (#4520) * Added example for Ant Design with LESS * Fix ESLINT
2018-06-07 11:14:27 +00:00
"libraryName": "antd",
fix: SyntaxError @import "./themes/default" (#5018) fix: bug 🐞 ![image](https://user-images.githubusercontent.com/37728280/44520939-05929380-a704-11e8-9e7e-7acbc08c6d39.png)
2018-08-23 14:48:17 +00:00
"style": true
Added example for Ant Design with LESS (#4520) * Added example for Ant Design with LESS * Fix ESLINT
2018-06-07 11:14:27 +00:00
}
]
]
}
Reference in a new issue
Copy permalink