瀏覽代碼

output fix

Andrey Titovskiy 3 年之前
父節點
當前提交
06b9d6ec6a
共有 5 個文件被更改,包括 4 次插入4 次删除
  1. 0 1
      build/branding.js.map
  2. 1 1
      build/index.html
  3. 1 1
      build/branding.js
  4. 1 0
      build/index.js.map
  5. 1 1
      webpack.config.js

文件差異過大導致無法顯示
+ 0 - 1
build/branding.js.map


+ 1 - 1
build/index.html

@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Ulearn Branding Test</title><link href="style.css" rel="stylesheet"></head><body><div id="root" style="width: 100%; height: 100%;">test</div><script src="branding.js"></script></body></html>
+<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Ulearn Branding Test</title><link href="style.css" rel="stylesheet"></head><body><div id="root" style="width: 100%; height: 100%;">test</div><script src="index.js"></script></body></html>

文件差異過大導致無法顯示
+ 1 - 1
build/branding.js


文件差異過大導致無法顯示
+ 1 - 0
build/index.js.map


+ 1 - 1
webpack.config.js

@@ -12,7 +12,7 @@ module.exports = {
 		library: 'Branding',
 		libraryTarget: 'umd',
 		path: path.resolve(__dirname, outputDirectory),
-		filename: 'branding.js',
+		filename: 'index.js',
 	},
 	devtool: 'source-map',
 	module: {