select icon indicating copy to clipboard operation
select copied to clipboard

index.css file not available

Open gnoyixiang opened this issue 5 years ago • 4 comments

Hi, I only see the /assets/index.less file but not the css file in version 10.2.4

gnoyixiang avatar Apr 24 '20 14:04 gnoyixiang

You can build it yourself!

In your js file, import the index.less as you would do with the old css file:

import 'rc-select/assets/index.less';

In your webpack config file, ensure you have a rule to handle less files. For example:

...
module: {
  rules: [
    ...
    {
      test: /\.less$/,
      use: ['style-loader', 'css-loader', 'less-loader'],
    },
    ...
  ]
}
...

michelts avatar May 14 '20 17:05 michelts

Shouldn't package be distributed with compiled assets and even JS?

ziaulrehman40 avatar Nov 23 '21 11:11 ziaulrehman40

Hi, any update on here? I think it would be better to provide it since rc-pagination also provided it

Screen Shot 2022-04-11 at 1 06 17 PM

iamyuu avatar Apr 11 '22 06:04 iamyuu

any updates?

gnoyixiang avatar Feb 10 '23 06:02 gnoyixiang