mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
scss
This commit is contained in:
parent
0753360988
commit
98552c8124
@ -23,8 +23,8 @@
|
|||||||
"font-awesome": "4.7.0",
|
"font-awesome": "4.7.0",
|
||||||
"html-loader": "^0.5.1",
|
"html-loader": "^0.5.1",
|
||||||
"html-webpack-plugin": "^2.30.1",
|
"html-webpack-plugin": "^2.30.1",
|
||||||
"less": "^3.0.0-alpha.3",
|
"node-sass": "^4.7.2",
|
||||||
"less-loader": "^4.0.5",
|
"sass-loader": "^6.0.6",
|
||||||
"style-loader": "^0.19.0",
|
"style-loader": "^0.19.0",
|
||||||
"ts-loader": "^3.0.5",
|
"ts-loader": "^3.0.5",
|
||||||
"tslint": "^5.8.0",
|
"tslint": "^5.8.0",
|
||||||
|
1
src/app/app.d.ts
vendored
1
src/app/app.d.ts
vendored
@ -1 +1,2 @@
|
|||||||
declare module '*.html';
|
declare module '*.html';
|
||||||
|
declare function require(s: string): any;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import { enableProdMode } from '@angular/core';
|
import { enableProdMode } from '@angular/core';
|
||||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||||
|
|
||||||
|
require('../scss/styles.scss');
|
||||||
|
|
||||||
import { AppModule } from './app.module';
|
import { AppModule } from './app.module';
|
||||||
|
|
||||||
platformBrowserDynamic().bootstrapModule(AppModule);
|
platformBrowserDynamic().bootstrapModule(AppModule);
|
||||||
|
6
src/scss/styles.scss
Normal file
6
src/scss/styles.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
html, body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
height: 100%;
|
||||||
|
background-color: gray;
|
||||||
|
}
|
@ -6,7 +6,7 @@ module.exports = merge(common, {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.less$/,
|
test: /\.scss$/,
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: 'style-loader'
|
loader: 'style-loader'
|
||||||
@ -15,7 +15,7 @@ module.exports = merge(common, {
|
|||||||
loader: 'css-loader',
|
loader: 'css-loader',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
loader: 'less-loader',
|
loader: 'sass-loader',
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user