Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke committed Dec 28, 2023
1 parent 49759c7 commit 41e31a2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
node_modules
index.*.*
.eslintcache
*.log*
*.result.css
.*
!.appveyor.yml
!.editorconfig
!.gitignore
!.rollup.js
!.tape.js
!.github
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes to PostCSS Sass

### 5.1.0 (December 28, 2023)

- Updated: `dart-sass` to 1.69.5 (minor)
- Updated: `source-map` to 0.7.4 (patch)

### 5.0.1 (March 8, 2022)

- Fixes an issue with import files not being sent for processors to pick up. [#31](https://github.com/csstools/postcss-sass/pull/31)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ grunt.initConfig({
[dart-sass]: https://github.com/sass/dart-sass
[dart-sass options]: https://github.com/sass/dart-sass#javascript-api
[PostCSS]: https://github.com/postcss/postcss
[PostCSS Sass]: https://github.com/jonathantneal/postcss-sass
[PostCSS Sass]: https://github.com/csstools/postcss-sass
[Sass]: https://github.com/sass/dart-sass
[SCSS Parser]: https://github.com/postcss/postcss-scss
[discord]: https://discord.gg/bUadyRwkJS
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
"license": "CC0-1.0",
"repository": "jonathantneal/postcss-sass",
"homepage": "https://github.com/jonathantneal/postcss-sass#readme",
"bugs": "https://github.com/jonathantneal/postcss-sass/issues",
"homepage": "https://github.com/csstools/postcss-sass#readme",
"bugs": "https://github.com/csstools/postcss-sass/issues",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"exports": {
Expand All @@ -24,9 +24,9 @@
],
"scripts": {
"prepublishOnly": "npm test",
"pretest": "rollup -c .rollup.mjs --silent --exports 'auto'",
"pretest": "rollup -c rollup.mjs --silent --exports 'auto'",
"test": "npm run test:js && npm run test:tape",
"test:js": "eslint **/*.mjs **/*.js --cache --ignore-path .gitignore --quiet",
"test:js": "eslint *.mjs src/*.mjs test/*.mjs --cache --ignore-path .gitignore --quiet",
"test:tape": "node --test",
"test:rewrite-expects": "REWRITE_EXPECTS=true node --test"
},
Expand Down
16 changes: 16 additions & 0 deletions rollup.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import babel from '@rollup/plugin-babel';

export default {
input: 'src/index.mjs',
output: [
{ file: 'dist/index.cjs', format: 'cjs', sourcemap: false, strict: false, exports: 'auto' },
{ file: 'dist/index.mjs', format: 'esm', sourcemap: false, strict: false, exports: 'auto' },
],
plugins: [
babel({
presets: [
['@babel/env', { modules: false, targets: { node: 12 } }],
],
}),
],
};
File renamed without changes.
File renamed without changes.

0 comments on commit 41e31a2

Please sign in to comment.