X Tutup
Skip to content

Commit fe2d553

Browse files
committed
Add 'webpack/' from commit '1f0c83223b0cadb939b13f99789ff690bc2ebd9b'
git-subtree-dir: webpack git-subtree-mainline: b05db7e git-subtree-split: 1f0c832
2 parents b05db7e + 1f0c832 commit fe2d553

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4933
-0
lines changed

webpack/.gitattributes

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Prevent Git to auto detect text files and perform LF normalization.
2+
* -text
3+
4+
# The item with `binary` is treated as binary file.
5+
# The item with `eol=lf` is converted to LF on checkin, back to LF on checkout.
6+
# The item with `eol=crlf` is converted to LF on checkin, back to CRLF on checkout.
7+
8+
# To get full extension list in the repo, remove the node_modules folder and run the following PowerShell cmdlet.
9+
# PS> Get-ChildItem . -Recurse | Where-Object { -not $_.PSIsContainer } | ForEach-Object { $_.Extension.ToLower() } | Sort-Object | Get-Unique
10+
11+
# If new extensions are added, please refresh the repo with the following commands.
12+
# Reference: https://git-scm.com/docs/gitattributes
13+
# > rm .git/index # Remove the index to force Git to
14+
# > git reset # re-scan the working directory
15+
# > git status # Show files that will be normalized
16+
# > git add -u
17+
# > git add .gitattributes
18+
# > git commit -m "Apply end-of-line normalization based on updated .gitattributes file"
19+
20+
*.aspx text eol=crlf
21+
*.bowerrc text eol=lf
22+
*.cmd text eol=crlf
23+
*.command text eol=lf
24+
*.config text eol=crlf
25+
*.cs text eol=crlf
26+
*.csproj text eol=crlf
27+
*.css text eol=crlf
28+
*.dll binary
29+
*.editorconfig text eol=lf
30+
*.eot binary
31+
*.example text eol=crlf
32+
*.exe binary
33+
*.gif binary
34+
*.gitattributes text eol=lf
35+
*.gitignore text eol=lf
36+
*.gitmodules text eol=lf
37+
*.html text eol=crlf
38+
*.ico binary
39+
*.jpg binary
40+
*.js text eol=crlf
41+
*.json text eol=crlf
42+
*.less text eol=crlf
43+
*.map text eol=lf
44+
*.md text eol=crlf
45+
*.npmignore text eol=lf
46+
*.png binary
47+
*.ps1 text eol=crlf
48+
*.rels text eol=crlf
49+
*.resx text eol=crlf
50+
*.scss text eol=crlf
51+
*.sln text eol=crlf
52+
*.svg text elf=lf
53+
*.ts text eol=crlf
54+
*.tsx text eol=crlf
55+
*.ttf binary
56+
*.woff binary
57+
*.wsp binary
58+
*.xml text eol=crlf
59+
60+
# NPM "bin" scripts MUST have LF, or else the executable fails to run on Mac.
61+
# This fnmatch expression only matches files in a "bin" folder and without
62+
# a period in the filename.
63+
/*/*/bin/+([!.]) -text
64+
65+
# Don't allow people to merge changes to these generated files, because the result
66+
# may be invalid. You need to run "rush generate" again.
67+
/common/npm-shrinkwrap.json merge=binary
68+
/common/temp_modules/** merge=binary

webpack/.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Windows OS Files
2+
$RECYCLE.BIN/
3+
Desktop.ini
4+
Thumbs.db
5+
ehthumbs.db
6+
7+
# Mac OSX Files
8+
.AppleDouble
9+
.DS_Store
10+
.LSOverride
11+
.Spotlight-V100
12+
.Trashes
13+
._*
14+
15+
# Package files
16+
app
17+
app-min
18+
bower_components
19+
coverage
20+
dist
21+
jspm_packages
22+
lib
23+
lib
24+
lib-amd
25+
node_modules
26+
npm-debug.log
27+
npminstall-log.txt
28+
temp
29+
30+
# Rush files
31+
**/*.build.error.log
32+
**/*.build.log
33+
common/temp
34+
package-deps.json
35+
36+
# IDE files
37+
*.bak
38+
*.csproj.user
39+
*.sublime-project
40+
*.sublime-workspace
41+
*.suo
42+
*.userosscache
43+
.idea
44+
.vs/
45+
/.settings/
46+
bin/
47+
48+
# Ignore VS Code personal settings, but keep a root-level setting
49+
/*/**/.vscode/
50+
51+
# Build artifacts
52+
**/*.scss.ts

webpack/.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- '6.9.0'
4+
before_script:
5+
- npm install -g gulp
6+
script:
7+
- echo 'Checking change file...' && echo -en 'travis_fold:start:check\\r'
8+
- git fetch origin master:refs/remotes/origin/master -a
9+
- npm run change -- -v
10+
- echo -en 'travis_fold:end:check\\r'
11+
- echo 'Building...' && echo -en 'travis_fold:start:build\\r'
12+
- npm run rebuild
13+
- echo -en 'travis_fold:end:build\\r'
14+

webpack/BUILDING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Install dependencies
2+
3+
```
4+
npm install
5+
```
6+
7+
## Build all packages (with incremental skipping on unchanged packages)
8+
9+
```
10+
npm run build
11+
```
12+
13+
### Full rebuild
14+
15+
```
16+
rush rebuild -q
17+
```
18+

webpack/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

webpack/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# webpack-loaders
2+
3+
[![Build Status](https://travis-ci.org/Microsoft/webpack-loaders.svg?branch=master)](https://travis-ci.org/Microsoft/webpack-loaders)
4+
5+
A collection of webpack loader npm packages.
6+
7+
See individual projects for details:
8+
9+
### [@microsoft/loader-set-webpack-public-path](./loader-set-webpack-public-path/README.md)
10+
11+
`loader-set-webpack-public-path` is a loader used to set the webpack public path variable.
12+
13+
[![npm version](https://badge.fury.io/js/%40microsoft%2Floader-set-webpack-public-path.svg)](https://badge.fury.io/js/%40microsoft%2Floader-set-webpack-public-path)
14+
[![Dependencies](https://david-dm.org/Microsoft/loader-set-webpack-public-path.svg)](https://david-dm.org/Microsoft/loader-set-webpack-public-path)
15+
16+
### [@microsoft/loader-load-themed-styles](./loader-load-themed-styles/README.md)
17+
18+
`loader-load-themed-styles` is a loader used for loading themed CSS styles.
19+
20+
[![npm version](https://badge.fury.io/js/%40microsoft%2Floader-load-themed-styles.svg)](https://badge.fury.io/js/%40microsoft%2Floader-load-themed-styles)
21+
[![Dependencies](https://david-dm.org/Microsoft/loader-load-themed-styles.svg)](https://david-dm.org/Microsoft/loader-load-themed-styles)
22+
23+
### [@microsoft/loader-raw-script](./loader-raw-script/README.md)
24+
25+
`loader-raw-script` is a loader used for loading scripts with an `eval` statement.
26+
27+
[![npm version](https://badge.fury.io/js/%40microsoft%2Floader-raw-script.svg)](https://badge.fury.io/js/%40microsoft%2Floader-raw-script)
28+
[![Dependencies](https://david-dm.org/Microsoft/loader-raw-script.svg)](https://david-dm.org/Microsoft/loader-raw-script)
29+

webpack/common/config/rush/.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=https://registry.npmjs.org/
2+
always-auth=false

0 commit comments

Comments
 (0)
X Tutup