Skip to content

Commit bed22e2

Browse files
committed
Converted line endings from CRLF to LF
1 parent 5aaa322 commit bed22e2

File tree

4 files changed

+1721
-1711
lines changed

4 files changed

+1721
-1711
lines changed

lf.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
$files = git ls-files
2+
3+
foreach ($file in $files) {
4+
$content = Get-Content $file -Raw
5+
$content = $content -replace "`r`n", "`n"
6+
Set-Content -NoNewline -Path $file -Value $content
7+
}
8+
9+
git add -A
10+
git commit -m "Converted line endings from CRLF to LF"

rollup.config.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
'use strict'
2-
3-
import analyzer from './module'
4-
5-
const appendExportPlugin = () => {
6-
return {
7-
name: 'append-export-default',
8-
transform: (code) => {
9-
return { code: `${code}\nplugin.default = plugin` }
10-
}
11-
}
12-
}
13-
14-
export default {
15-
plugins: [
16-
analyzer(),
17-
appendExportPlugin()
18-
],
19-
input: 'module.js',
20-
output: {
21-
file: 'index.js',
22-
format: 'cjs',
23-
exports: 'default'
24-
}
25-
}
1+
'use strict'
2+
3+
import analyzer from './module'
4+
5+
const appendExportPlugin = () => {
6+
return {
7+
name: 'append-export-default',
8+
transform: (code) => {
9+
return { code: `${code}\nplugin.default = plugin` }
10+
}
11+
}
12+
}
13+
14+
export default {
15+
plugins: [
16+
analyzer(),
17+
appendExportPlugin()
18+
],
19+
input: 'module.js',
20+
output: {
21+
file: 'index.js',
22+
format: 'cjs',
23+
exports: 'default'
24+
}
25+
}

0 commit comments

Comments
 (0)