Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromvuejs/vue

Commit94cf00d

Browse files
committed
apply csp patch
1 parenta8d6330 commit94cf00d

File tree

9 files changed

+4705
-52
lines changed

9 files changed

+4705
-52
lines changed

‎build/build.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ rollup.rollup({
2626
entry:'src/index.js',
2727
plugins:[
2828
babel({
29-
loose:'all'
29+
loose:'all',
30+
exclude:'lib/**'
3031
})
3132
]
3233
})
@@ -45,7 +46,8 @@ rollup.rollup({
4546
'process.env.NODE_ENV':"'development'"
4647
}),
4748
babel({
48-
loose:'all'
49+
loose:'all',
50+
exclude:'lib/**'
4951
})
5052
]
5153
})
@@ -66,7 +68,8 @@ rollup.rollup({
6668
'process.env.NODE_ENV':"'production'"
6769
}),
6870
babel({
69-
loose:'all'
71+
loose:'all',
72+
exclude:'lib/**'
7073
})
7174
]
7275
})

‎build/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [[ -z $CI_PULL_REQUEST ]] && [[ $CIRCLE_BRANCH = master ]]; then
55
cat ./coverage/lcov.info| ./node_modules/.bin/codecov
66
npm run build
77
npm run e2e
8-
npm run sauce-all
8+
npm run sauce#csp only need Chrome/FF
99
else
1010
npmtest
1111
fi

‎build/karma.cover.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function (config) {
1717
options.webpack.module.postLoaders=[
1818
{
1919
test:/\.js$/,
20-
exclude:/test|node_modules/,
20+
exclude:/test|node_modules|lib\//,
2121
loader:'istanbul-instrumenter'
2222
}
2323
]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp