FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
react-input-range/webpack-example.config.babel.js at master · LWCoder/react-input-range · GitHub
LWCoder
/
react-input-range
Public
forked from
davidchin/react-input-range
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
react-input-range
/
webpack-example.config.babel.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (57 loc) · 1.41 KB
Breadcrumbs
react-input-range
/
webpack-example.config.babel.js
Copy path
File metadata and controls
59 lines (57 loc) · 1.41 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* eslint-disable import/no-extraneous-dependencies */
import
ExtractTextPlugin
from
'extract-text-webpack-plugin'
;
import
SasslintPlugin
from
'sasslint-webpack-plugin'
;
import
path
from
'path'
;
const
webpackExampleConfig
=
{
context
:
__dirname
,
devtool
:
'source-map'
,
target
:
'web'
,
entry
:
{
example
:
'./example/js/index.jsx'
,
}
,
output
:
{
filename
:
'[name].js'
,
}
,
module
:
{
rules
:
[
{
include
:
[
path
.
resolve
(
__dirname
,
'src'
)
,
path
.
resolve
(
__dirname
,
'example'
)
,
]
,
loader
:
'babel-loader'
,
test
:
/
\.
j
s
x
?
$
/
,
}
,
{
include
:
[
path
.
resolve
(
__dirname
,
'src'
)
,
path
.
resolve
(
__dirname
,
'example'
)
,
]
,
loader
:
ExtractTextPlugin
.
extract
(
{
fallback
:
'style-loader'
,
use
:
[
'css-loader'
,
'postcss-loader'
,
'sass-loader'
]
,
}
)
,
test
:
/
\.
s
c
s
s
$
/
,
}
,
{
include
:
[
path
.
resolve
(
__dirname
,
'src'
)
,
path
.
resolve
(
__dirname
,
'example'
)
,
]
,
loader
:
'eslint-loader'
,
test
:
/
\.
j
s
x
?
$
/
,
enforce
:
'pre'
,
}
,
]
,
}
,
plugins
:
[
new
ExtractTextPlugin
(
'[name].css'
)
,
new
SasslintPlugin
(
{
glob
:
'./src/scss/**/*.scss'
,
ignorePlugins
:
[
'extract-text-webpack-plugin'
]
,
}
)
,
]
,
resolve
:
{
modules
:
[
'node_modules'
]
,
extensions
:
[
'.js'
,
'.jsx'
]
,
}
,
}
;
export
default
webpackExampleConfig
;
Back
|
FazBrowse Home
|
New Git URL