Changed demo html file to be index.html.

This commit is contained in:
Harrison Deng 2022-04-17 01:26:26 -05:00
parent 1ffb0b159a
commit d46f30273d
3 changed files with 4 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -33,7 +33,7 @@ pipeline{
sh "npm run docs" sh "npm run docs"
} }
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: '']) publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'dist', reportFiles: 'demo.html', reportName: 'AudioShowKit Demo', reportTitles: '']) publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'dist', reportFiles: 'index.html', reportName: 'AudioShowKit Demo', reportTitles: ''])
} }
} }
} }

View File

@ -10,7 +10,9 @@
</head> </head>
<body> <body>
<div>
<h1>Welcome to the AudioShowKit library demo!</h1>
</div>
</body> </body>
</html> </html>

View File

@ -34,7 +34,6 @@ export default {
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: path.resolve("./src/demo/index.html"), template: path.resolve("./src/demo/index.html"),
filename: "demo.html"
}) })
] ]
}; };