File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Added
11+
12+ - Added ` styles.css ` to the export in the package.json
13+
1014## [ 2.4.0] - 2023-08-04
1115
1216### Added
Original file line number Diff line number Diff line change 1414// ***********************************************************
1515
1616import "bootstrap/dist/css/bootstrap.min.css" ;
17- import "react-pattern-ui/index .css" ;
17+ import "react-pattern-ui/styles .css" ;
1818
1919// Import commands.js using ES2015 syntax:
2020import "./commands" ;
Original file line number Diff line number Diff line change 1414 "." : {
1515 "types" : " ./dist/index.d.ts" ,
1616 "import" : " ./dist/index.modern.js" ,
17- "require" : " ./dist/index.js"
18- }
17+ "require" : " ./dist/index.js" ,
18+ "styles" : " ./dist/styles.css"
19+ },
20+ "./styles" : " ./dist/styles.css" ,
21+ "./styles.css" : " ./dist/styles.css"
1922 },
2023 "main" : " dist/index.js" ,
2124 "umd:main" : " dist/index.umd.js" ,
2528 "source" : " src/index.ts" ,
2629 "jsnext:main" : " dist/index.modern.js" ,
2730 "types" : " dist/index.d.ts" ,
31+ "styles" : " ./dist/styles.css" ,
2832 "files" : [
2933 " dist"
3034 ],
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import sass from "rollup-plugin-sass";
88const input = "src/index.ts" ;
99
1010const plugins = [
11- sass ( { output : true } ) ,
11+ sass ( { output : "dist/styles.css" } ) ,
1212 external ( {
1313 includeDependencies : true ,
1414 } ) ,
You can’t perform that action at this time.
0 commit comments