Skip to content

Commit

Permalink
Remove lib folder from git (#3531)
Browse files Browse the repository at this point in the history
* Remove lib from repo
* Add lib folder to .gitignore
* Remove src from publish
  • Loading branch information
matthew-dean committed Jul 7, 2020
1 parent e0f5c1a commit a722237
Show file tree
Hide file tree
Showing 218 changed files with 10 additions and 13,726 deletions.
1 change: 1 addition & 0 deletions packages/less/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# project-specific
tmp
lib
test/browser/less.min.js
test/browser/less.min.js.map
test/sourcemaps/**/*.map
Expand Down
3 changes: 2 additions & 1 deletion packages/less/.npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
.git
.gitattributes
.travis.yml
.grunt/
appveyor.yml
build/
.grunt/
benchmark/
src/
test/
test/less-bom/
# re-include test files as they can be useful for plugins that do testing
Expand Down
6 changes: 5 additions & 1 deletion packages/less/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,12 @@ module.exports = function(grunt) {
},
build: {
command: [
/** Browser runtime */
scriptRuntime + " build/rollup.js --dist",
"npm run copy:root"
/** Copy to repo root */
"npm run copy:root",
/** Node.js runtime */
"npm run build"
].join(" && ")
},
testbuild: {
Expand Down
45 changes: 0 additions & 45 deletions packages/less/lib/less-browser/add-default-options.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/less/lib/less-browser/add-default-options.js.map

This file was deleted.

64 changes: 0 additions & 64 deletions packages/less/lib/less-browser/bootstrap.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/less/lib/less-browser/bootstrap.js.map

This file was deleted.

80 changes: 0 additions & 80 deletions packages/less/lib/less-browser/browser.js

This file was deleted.

0 comments on commit a722237

Please sign in to comment.