Skip to content

Commit

Permalink
fix: remove less dependency and ref since it is not supported or used
Browse files Browse the repository at this point in the history
  • Loading branch information
Juned Kazi committed Feb 12, 2020
1 parent 2b822a1 commit c586dd8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 192 deletions.
5 changes: 2 additions & 3 deletions bin/stencil-start
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,12 @@ function startServer() {
var watchFiles = [
'/assets',
'/templates',
'/lang'
'/lang',
];
var watchIgnored = [
'/assets/scss',
'/assets/less',
'/assets/css',
'/assets/jspm_packages'
'/assets/jspm_packages',
];

if (err) {
Expand Down
4 changes: 2 additions & 2 deletions lib/css-assembler.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const importRegex = /@import\s+?["'](.+?)["'];/g;
module.exports.assemble = assemble;

/**
* Parses all of the imports for SCSS or LESS files and returns a flat object with the file path as the key and
* Parses all of the imports for SCSS files and returns a flat object with the file path as the key and
* file content as the value.
*
* @param cssFiles
* @param absolutePath
* @param type - scss or less
* @param type - scss
* @param options - options object
* @param callback
*/
Expand Down
186 changes: 3 additions & 183 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"jsonlint": "^1.6.2",
"jsonschema": "^1.0.2",
"jspm": "^0.16.55",
"less": "^2.5.0",
"lodash": "^3.9.0",
"memory-cache": "^0.1.4",
"progress": "^2.0.0",
Expand Down
1 change: 0 additions & 1 deletion test/_mocks/build-config/legacy-config/stencil.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var watchOptions = {
//Do not watch files in these directories
ignored: [
'/assets/scss',
'/assets/less',
'/assets/css',
'/assets/dist',
],
Expand Down
1 change: 0 additions & 1 deletion test/_mocks/build-config/noready-config/stencil.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var watchOptions = {
//Do not watch files in these directories
ignored: [
'/assets/scss',
'/assets/less',
'/assets/css',
'/assets/dist',
],
Expand Down
1 change: 0 additions & 1 deletion test/_mocks/build-config/valid-config/stencil.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var watchOptions = {
//Do not watch files in these directories
ignored: [
'/assets/scss',
'/assets/less',
'/assets/css',
'/assets/dist',
],
Expand Down

0 comments on commit c586dd8

Please sign in to comment.