Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄瑜
VueElementTemplate
Commits
3063d9c8
Commit
3063d9c8
authored
Apr 29, 2017
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace NoErrorsPlugin && add dev eslint check
parent
785c3bea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
webpack.base.conf.js
build/webpack.base.conf.js
+9
-9
webpack.dev.conf.js
build/webpack.dev.conf.js
+1
-1
No files found.
build/webpack.base.conf.js
View file @
3063d9c8
...
...
@@ -41,15 +41,15 @@ module.exports = {
},
module
:
{
rules
:
[
//
{
//
test: /\.(js|vue)$/,
//
loader: 'eslint-loader',
//
enforce: "pre",
//
include: [resolve('src'), resolve('test')],
//
options: {
//
formatter: require('eslint-friendly-formatter')
//
}
//
},
{
test
:
/
\.(
js|vue
)
$/
,
loader
:
'eslint-loader'
,
enforce
:
"pre"
,
include
:
[
resolve
(
'src'
),
resolve
(
'test'
)],
options
:
{
formatter
:
require
(
'eslint-friendly-formatter'
)
}
},
{
test
:
/
\.
vue$/
,
loader
:
'vue-loader'
,
options
:
vueLoaderConfig
...
...
build/webpack.dev.conf.js
View file @
3063d9c8
...
...
@@ -33,7 +33,7 @@ module.exports = merge(baseWebpackConfig, {
}),
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
new
webpack
.
HotModuleReplacementPlugin
(),
new
webpack
.
NoErrorsPlugin
(),
new
webpack
.
NoE
mitOnE
rrorsPlugin
(),
// https://github.com/ampedandwired/html-webpack-plugin
new
HtmlWebpackPlugin
({
filename
:
'index.html'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment