@canopycanopycanopy/b-ber-tasks 1.2.13-react-reader.67 → 1.2.13-react-reader.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/sass/index.js +21 -19
  2. package/package.json +10 -10
@@ -42,7 +42,7 @@ var _State = _interopRequireDefault(require("@canopycanopycanopy/b-ber-lib/State
42
42
  // running the sass task
43
43
  const ASSET_DIRNAMES = ['fonts', 'images'];
44
44
  const autoprefixerOptions = _State.default.config.autoprefixer_options || {
45
- overrideBrowserslist: ['last 2 versions', '> 2%'],
45
+ overrideBrowserslist: ['defaults', '> 1%', 'not dead', 'not IE 11'],
46
46
  flexbox: 'no-2009'
47
47
  }; // Check to see if there's an `application.scss` in `_stylesheets`, and if so
48
48
  // load that; else verify that a theme is selected in `config`, and that the
@@ -182,24 +182,26 @@ function resolveImportedModule(importPath) {
182
182
  return importedModule;
183
183
  }
184
184
 
185
- const renderCSS = scssString => new _promise.default(resolve => _sass.default.render({
186
- // Importer allows use of '~' to denote node_modules directory in SCSS files
187
- importer: (url, _file, done) => {
188
- const file = url[0] === '~' ? resolveImportedModule(url) : url;
189
- return done({
190
- file
191
- });
192
- },
193
- // Add build vars at runtime with the SCSS buffer (which is transformed
194
- // to string in the backticks)
195
- data: `$build: "${_State.default.build}";${scssString}`,
196
- includePaths: [_State.default.src.stylesheets(), _path.default.dirname(_State.default.theme.entry), _path.default.dirname(_path.default.dirname(_State.default.theme.entry))],
197
- outputStyle: _State.default.env === 'production' ? 'compressed' : 'expanded',
198
- errLogToConsole: true
199
- }, (err, result) => {
200
- if (err) throw err;
201
- resolve(result);
202
- }));
185
+ const renderCSS = scssString => new _promise.default(resolve => {
186
+ _sass.default.render({
187
+ // Importer allows use of '~' to denote node_modules directory in SCSS files
188
+ importer: (url, _file, done) => {
189
+ const file = url[0] === '~' ? resolveImportedModule(url) : url;
190
+ return done({
191
+ file
192
+ });
193
+ },
194
+ // Add build vars at runtime with the SCSS buffer (which is transformed
195
+ // to string in the backticks)
196
+ data: `$build: "${_State.default.build}";${scssString}`,
197
+ includePaths: [_State.default.src.stylesheets(), _path.default.dirname(_State.default.theme.entry), _path.default.dirname(_path.default.dirname(_State.default.theme.entry))],
198
+ outputStyle: _State.default.env === 'production' ? 'compressed' : 'expanded',
199
+ errLogToConsole: true
200
+ }, (err, result) => {
201
+ if (err) throw err;
202
+ resolve(result);
203
+ });
204
+ });
203
205
 
204
206
  const applyPostProcessing = ({
205
207
  css
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-tasks",
3
- "version": "1.2.13-react-reader.67+b2fdc973",
3
+ "version": "1.2.13-react-reader.75+8c72aa42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -19,14 +19,14 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime-corejs3": "^7.10.5",
22
- "@canopycanopycanopy/b-ber-lib": "1.2.13-react-reader.67+b2fdc973",
23
- "@canopycanopycanopy/b-ber-logger": "1.2.12",
24
- "@canopycanopycanopy/b-ber-markdown-renderer": "1.2.13-react-reader.67+b2fdc973",
25
- "@canopycanopycanopy/b-ber-reader": "1.2.15",
26
- "@canopycanopycanopy/b-ber-resources": "1.2.12",
27
- "@canopycanopycanopy/b-ber-shapes-sequences": "1.2.13-react-reader.67+b2fdc973",
28
- "@canopycanopycanopy/b-ber-templates": "1.2.13-react-reader.67+b2fdc973",
29
- "@canopycanopycanopy/b-ber-validator": "1.2.12",
22
+ "@canopycanopycanopy/b-ber-lib": "1.2.13-react-reader.75+8c72aa42",
23
+ "@canopycanopycanopy/b-ber-logger": "1.2.13-react-reader.75+8c72aa42",
24
+ "@canopycanopycanopy/b-ber-markdown-renderer": "1.2.13-react-reader.75+8c72aa42",
25
+ "@canopycanopycanopy/b-ber-reader": "1.2.13-react-reader.75+8c72aa42",
26
+ "@canopycanopycanopy/b-ber-resources": "1.2.13-react-reader.75+8c72aa42",
27
+ "@canopycanopycanopy/b-ber-shapes-sequences": "1.2.13-react-reader.75+8c72aa42",
28
+ "@canopycanopycanopy/b-ber-templates": "1.2.13-react-reader.75+8c72aa42",
29
+ "@canopycanopycanopy/b-ber-validator": "1.2.13-react-reader.75+8c72aa42",
30
30
  "autoprefixer": "^9.6.1",
31
31
  "browser-sync": "^2.27.7",
32
32
  "bs-html-injector": "^3.0.3",
@@ -76,5 +76,5 @@
76
76
  "url": "https://maxwellsimmer.com"
77
77
  }
78
78
  ],
79
- "gitHead": "b2fdc9731696088030fca0cb8e6ceaa69338ed14"
79
+ "gitHead": "8c72aa4290a395d84aaf35884b0b6b2614cedbb4"
80
80
  }