Skip to content

Commit

Permalink
chore(deps): use @exile-watch/postcss-config instead of postcss depen…
Browse files Browse the repository at this point in the history
…dency
  • Loading branch information
sbsrnt committed Feb 10, 2024
1 parent d04a67f commit 901b5a6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
5 changes: 1 addition & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions packages/rollup-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@
"test": "jest",
"test:coverage": "jest --coverage"
},
"peerDependencies": {
"tslib": "^2.3.0"
},
"dependencies": {
"@exile-watch/postcss-config": "^0.1.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@rollup/plugin-yaml": "^3.1.0",
"acorn-jsx": "^5.3.2",
"lodash.kebabcase": "^4.1.1",
"postcss": "^8.3.6",
"rollup": "^2.56.3",
"rollup-plugin-includepaths": "^0.2.4",
"rollup-plugin-postcss": "^4.0.2",
Expand Down
7 changes: 0 additions & 7 deletions packages/rollup-config/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ export interface CreateRollupConfigOptions {
*/
exports?: OutputOptions['exports']

/**
* Override Less options object
* @see https://github.com/egoist/rollup-plugin-postcss#use
*/

lessOptions?: unknown

/**
* Our configuration upgrades certain Rollup warnings to errors, for consistency with
* the Webpack behaviors that many developers are used to. However,in some cases, we
Expand Down
2 changes: 0 additions & 2 deletions packages/rollup-config/src/plugins/getPostCssPluginConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const generateScopedName = function (name: string, filename: string) {
*/
export const getPostCssPluginConfig = ({
cssOutputFile,
lessOptions,
sassIncludePaths,
}: CreateRollupConfigOptions = {}) => {
/**
Expand All @@ -41,7 +40,6 @@ export const getPostCssPluginConfig = ({
scopeBehavior: 'local',
},
use: {
less: (lessOptions || {javascriptEnabled: true}) as unknown,
sass: {
/**
* This allows us to import styles from `node_modules` into SCSS files,
Expand Down

0 comments on commit 901b5a6

Please sign in to comment.