Skip to content

Commit 639351a

Browse files
committed
fix css
1 parent c0285ce commit 639351a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/taskpane/taskpane.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!--<link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.2.0/css/fabric.components.min.css" />-->
2424

2525
<!-- Template styles -->
26-
<link href="taskpane/taskpane.css" rel="stylesheet" type="text/css" />
26+
<link href="taskpane.css" rel="stylesheet" type="text/css" />
2727
</head>
2828

2929
<body class="ms-font-m ms-welcome">

webpack.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,17 @@ module.exports = (env, options) => {
4040
template: "./src/taskpane/taskpane.html",
4141
chunks: ["taskpane"]
4242
}),
43+
new CopyWebpackPlugin([
44+
{
45+
to: "taskpane.css",
46+
from: "./src/taskpane/taskpane.css"
47+
}
48+
]),
4349
new HtmlWebpackPlugin({
4450
filename: "ribbon.html",
4551
template: "./src/ribbon/ribbon.html",
4652
chunks: ["ribbon"]
47-
}),
53+
}),
4854
new webpack.ProvidePlugin({
4955
Promise: ["es6-promise", "Promise"]
5056
})

0 commit comments

Comments
 (0)