Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: publicpath-function test demonstrates variable publicPath
Added a second entry point / output at different nesting demonstrating the application of the publicPath function
  • Loading branch information
karlvr committed Apr 5, 2019
commit 1b691abf23ef62c45888eba50687b4e282baca65
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
body { background: green; background-image: url(../../cd0bb358c45b584743d8ce4991777c42.svg); }

1 change: 1 addition & 0 deletions test/cases/publicpath-function/nested/again/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
body { background: green; background-image: url(../../react.svg); }
2 changes: 2 additions & 0 deletions test/cases/publicpath-function/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module.exports = {
entry: {
// Specific CSS entry point, with output to a nested folder
'nested/style': './nested/style.css',
// Note that relative nesting of output is the same as that of the input
'nested/again/style': './nested/again/style.css',
},
module: {
rules: [
Expand Down