Skip to content

Commit 082ee94

Browse files
authored
Merge pull request #24 from matestack/3_1_1_beta
3.1.1 release
2 parents 849c56a + 175f5a0 commit 082ee94

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v3.1.1 Release - 2022-06-08
4+
5+
- fixing stylesheet export path in order to support Sprockets & SassC without any node driven sass compiler
6+
--> this might break css import paths introduced in the 3.1.0 release, please refer to the css setup docs for required adjustments
7+
38
## v3.1.0 Release - 2022-06-06
49

510
- supporting Rails 7 importmap

lib/matestack/ui/bootstrap/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Matestack
22
module Ui
33
module Bootstrap
4-
VERSION = '3.1.0'
4+
VERSION = '3.1.1'
55
end
66
end
77
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matestack-ui-bootstrap",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"license": "MIT",
55
"module": "./dist/matestack-ui-bootstrap.esm.js",
66
"files": [

rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import commonjs from "@rollup/plugin-commonjs"
33
import json from '@rollup/plugin-json';
44
import { terser } from "rollup-plugin-terser"
55
import scss from 'rollup-plugin-scss'
6+
import { writeFileSync } from 'fs'
67

78
const terserOptions = {
89
mangle: true,
@@ -24,7 +25,9 @@ export default [
2425
resolve({ browser: true }),
2526
json(),
2627
commonjs(),
27-
scss({ output: './dist/matestack-ui-bootstrap.css' }),
28+
scss({ output: function (styles, styleNodes) {
29+
writeFileSync('./dist/stylesheets/matestack-ui-bootstrap.css', styles)
30+
}}),
2831
terser(terserOptions)
2932
]
3033
}

0 commit comments

Comments
 (0)