@@ -160,7 +160,6 @@
</div>
- <script src="./../js/information.js"></script>
</body>
</html>
@@ -68,7 +68,7 @@ module.exports = {
title: 'drugInfo',
template: path.resolve(__dirname, 'src/html', 'drugInfo.html'),
filename: 'drugInfo.html',
- chunks: ['drugInfo', 'vendor', 'common'],
+ chunks: ['information', 'vendor', 'common'],
inject: true,
hash: true, //防止缓存
minify: {