Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2af379
commit 97c93dd
Showing
12 changed files
with
916 additions
and
799 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>sass-loader manual test</title> | ||
</head> | ||
<body> | ||
<h1 class="text-center">sass-loader manual tests</h1> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm"> | ||
<div class="card my-2"> | ||
<svg | ||
class="bd-placeholder-img card-img-top" | ||
width="100%" | ||
height="180" | ||
xmlns="http://www.w3.org/2000/svg" | ||
preserveAspectRatio="xMidYMid slice" | ||
focusable="false" | ||
role="img" | ||
aria-label="Placeholder: Image cap" | ||
> | ||
<title>Placeholder</title> | ||
<rect width="100%" height="100%" fill="#868e96"></rect> | ||
</svg> | ||
<div class="card-body"> | ||
<h5 class="card-title">Card title</h5> | ||
<p class="card-text"> | ||
Some quick example text to build on the card title and make up the | ||
bulk of the card's content. | ||
</p> | ||
<a href="#" class="btn btn-primary">Go somewhere</a> | ||
<div class="dropdown"> | ||
<button | ||
class="btn btn-secondary dropdown-toggle my-2" | ||
type="button" | ||
id="dropdownMenuButton-1" | ||
data-toggle="dropdown" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
> | ||
Dropdown button | ||
</button> | ||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> | ||
<a class="dropdown-item" href="#">Action</a> | ||
<a class="dropdown-item" href="#">Another action</a> | ||
<a class="dropdown-item" href="#">Something else here</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm"> | ||
<div class="card my-2"> | ||
<svg | ||
class="bd-placeholder-img card-img-top" | ||
width="100%" | ||
height="180" | ||
xmlns="http://www.w3.org/2000/svg" | ||
preserveAspectRatio="xMidYMid slice" | ||
focusable="false" | ||
role="img" | ||
aria-label="Placeholder: Image cap" | ||
> | ||
<title>Placeholder</title> | ||
<rect width="100%" height="100%" fill="#868e96"></rect> | ||
</svg> | ||
<div class="card-body"> | ||
<h5 class="card-title">Card title</h5> | ||
<p class="card-text"> | ||
Some quick example text to build on the card title and make up the | ||
bulk of the card's content. | ||
</p> | ||
<a href="#" class="btn btn-primary">Go somewhere</a> | ||
<div class="dropdown"> | ||
<button | ||
class="btn btn-secondary dropdown-toggle my-2" | ||
type="button" | ||
id="dropdownMenuButton-2" | ||
data-toggle="dropdown" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
> | ||
Dropdown button | ||
</button> | ||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> | ||
<a class="dropdown-item" href="#">Action</a> | ||
<a class="dropdown-item" href="#">Another action</a> | ||
<a class="dropdown-item" href="#">Something else here</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm"> | ||
<div class="card my-2"> | ||
<svg | ||
class="bd-placeholder-img card-img-top" | ||
width="100%" | ||
height="180" | ||
xmlns="http://www.w3.org/2000/svg" | ||
preserveAspectRatio="xMidYMid slice" | ||
focusable="false" | ||
role="img" | ||
aria-label="Placeholder: Image cap" | ||
> | ||
<title>Placeholder</title> | ||
<rect width="100%" height="100%" fill="#868e96"></rect> | ||
</svg> | ||
<div class="card-body"> | ||
<h5 class="card-title">Card title</h5> | ||
<p class="card-text"> | ||
Some quick example text to build on the card title and make up the | ||
bulk of the card's content. | ||
</p> | ||
<a href="#" class="btn btn-primary">Go somewhere</a> | ||
<div class="dropdown"> | ||
<button | ||
class="btn btn-secondary dropdown-toggle my-2" | ||
type="button" | ||
id="dropdownMenuButton-3" | ||
data-toggle="dropdown" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
> | ||
Dropdown button | ||
</button> | ||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> | ||
<a class="dropdown-item" href="#">Action</a> | ||
<a class="dropdown-item" href="#">Another action</a> | ||
<a class="dropdown-item" href="#">Something else here</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<script async defer src="/dist/main.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import 'bootstrap'; | ||
import './style.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import "~bootstrap"; | ||
|
||
$color: azure; | ||
|
||
body { | ||
background: $color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
module.exports = { | ||
devtool: 'source-map', | ||
mode: 'development', | ||
output: { | ||
publicPath: '/dist/', | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.scss$/i, | ||
use: [ | ||
{ | ||
loader: 'style-loader', | ||
}, | ||
{ | ||
loader: 'css-loader', | ||
options: { | ||
sourceMap: true, | ||
}, | ||
}, | ||
{ | ||
loader: require.resolve('../../dist/cjs.js'), | ||
options: { | ||
// eslint-disable-next-line global-require | ||
implementation: require('sass'), | ||
sourceMap: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
devServer: { | ||
hot: true, | ||
contentBase: __dirname, | ||
}, | ||
}; |