Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
edx
edx-platform
Commits
83b38677
Commit
83b38677
authored
Nov 01, 2017
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use style-loader
parent
b57f1447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
webpack.dev.config.js
+21
-16
No files found.
webpack.dev.config.js
View file @
83b38677
...
...
@@ -30,23 +30,28 @@ module.exports = Merge.smart(commonConfig, {
/paragon/
,
/font-awesome/
],
use
:
[{
loader
:
'css-loader'
,
options
:
{
modules
:
true
,
localIdentName
:
'[name]__[local]___[hash:base64:5]'
use
:
[
'style-loader'
,
{
loader
:
'css-loader'
,
options
:
{
sourceMap
:
true
,
modules
:
true
,
localIdentName
:
'[path][name]__[local]--[hash:base64:5]'
}
},
{
loader
:
'sass-loader'
,
options
:
{
data
:
'$base-rem-size: 0.625; @import "paragon-reset";'
,
includePaths
:
[
path
.
join
(
__dirname
,
'./node_modules/@edx/paragon/src/utils'
),
path
.
join
(
__dirname
,
'./node_modules/'
)
],
sourceMap
:
true
}
}
},
{
loader
:
'sass-loader'
,
options
:
{
data
:
'$base-rem-size: 0.625; @import "paragon-reset";'
,
includePaths
:
[
path
.
join
(
__dirname
,
'./node_modules/@edx/paragon/src/utils'
),
path
.
join
(
__dirname
,
'./node_modules/'
)
],
sourceMap
:
true
}
}]
]
}
]
}
...
...
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