output.js 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481
  1. {
  2. mode: 'development',
  3. context: '/Users/coywoo/Documents/code/plg-tms-std-web',
  4. node: {
  5. setImmediate: false,
  6. process: 'mock',
  7. dgram: 'empty',
  8. fs: 'empty',
  9. net: 'empty',
  10. tls: 'empty',
  11. child_process: 'empty'
  12. },
  13. output: {
  14. path: '/Users/coywoo/Documents/code/plg-tms-std-web/dist',
  15. filename: 'js/[name].js',
  16. publicPath: '/',
  17. chunkFilename: 'js/[name].js'
  18. },
  19. resolve: {
  20. alias: {
  21. '@': '/Users/coywoo/Documents/code/plg-tms-std-web/src',
  22. vue$: 'vue/dist/vue.esm.js',
  23. '@$': '/Users/coywoo/Documents/code/plg-tms-std-web/src',
  24. jq: '/Users/coywoo/Documents/code/plg-tms-std-web/public/jq',
  25. 'tms-js': '/Users/coywoo/Documents/code/plg-tms-std-web/src/views/JQ_Page/js'
  26. },
  27. extensions: [
  28. '.mjs',
  29. '.js',
  30. '.jsx',
  31. '.vue',
  32. '.json',
  33. '.wasm'
  34. ],
  35. modules: [
  36. 'node_modules',
  37. '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules',
  38. '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_@vue_cli-service@4.5.17@@vue/cli-service/node_modules'
  39. ],
  40. plugins: [
  41. {
  42. apply: function nothing() {
  43. // ¯\_(ツ)_/¯
  44. },
  45. makePlugin: function () { /* omitted long function */ },
  46. moduleLoader: function () { /* omitted long function */ },
  47. topLevelLoader: {
  48. apply: function nothing() {
  49. // ¯\_(ツ)_/¯
  50. }
  51. },
  52. bind: function () { /* omitted long function */ },
  53. tsLoaderOptions: function () { /* omitted long function */ },
  54. forkTsCheckerOptions: function () { /* omitted long function */ }
  55. }
  56. ]
  57. },
  58. resolveLoader: {
  59. modules: [
  60. '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_@vue_cli-plugin-babel@4.5.17@@vue/cli-plugin-babel/node_modules',
  61. 'node_modules',
  62. '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules',
  63. '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_@vue_cli-service@4.5.17@@vue/cli-service/node_modules'
  64. ],
  65. plugins: [
  66. {
  67. apply: function nothing() {
  68. // ¯\_(ツ)_/¯
  69. }
  70. }
  71. ]
  72. },
  73. module: {
  74. noParse: /^(vue|vue-router|vuex|vuex-router-sync)$/,
  75. rules: [
  76. /* config.module.rule('mjs') */
  77. {
  78. test: /\.mjs$/,
  79. type: 'javascript/auto',
  80. include: [
  81. /node_modules/
  82. ]
  83. },
  84. /* config.module.rule('vue') */
  85. {
  86. test: /\.vue$/,
  87. use: [
  88. {
  89. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js',
  90. options: {
  91. cacheDirectory: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/.cache/vue-loader',
  92. cacheIdentifier: '790f4abc'
  93. }
  94. },
  95. {
  96. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js',
  97. options: {
  98. compilerOptions: {
  99. whitespace: 'condense'
  100. },
  101. cacheDirectory: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/.cache/vue-loader',
  102. cacheIdentifier: '790f4abc'
  103. }
  104. }
  105. ]
  106. },
  107. /* config.module.rule('images') */
  108. {
  109. test: /\.(png|jpe?g|gif|webp)(\?.*)?$/,
  110. use: [
  111. {
  112. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_url-loader@2.3.0@url-loader/dist/cjs.js',
  113. options: {
  114. limit: 4096,
  115. fallback: {
  116. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_file-loader@4.3.0@file-loader/dist/cjs.js',
  117. options: {
  118. name: 'img/[name].[ext]'
  119. }
  120. }
  121. }
  122. }
  123. ]
  124. },
  125. /* config.module.rule('svg') */
  126. {
  127. test: /\.(svg)(\?.*)?$/,
  128. oneOf: [
  129. /* config.module.rule('svg').rule('inline') */
  130. {
  131. resourceQuery: /inline/,
  132. use: [
  133. {
  134. loader: 'vue-svg-icon-loader'
  135. }
  136. ]
  137. },
  138. /* config.module.rule('svg').rule('external') */
  139. {
  140. use: [
  141. {
  142. loader: 'file-loader',
  143. options: {
  144. name: 'assets/[name].[hash:8].[ext]'
  145. }
  146. }
  147. ]
  148. }
  149. ]
  150. },
  151. /* config.module.rule('media') */
  152. {
  153. test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
  154. use: [
  155. {
  156. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_url-loader@2.3.0@url-loader/dist/cjs.js',
  157. options: {
  158. limit: 4096,
  159. fallback: {
  160. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_file-loader@4.3.0@file-loader/dist/cjs.js',
  161. options: {
  162. name: 'media/[name].[ext]'
  163. }
  164. }
  165. }
  166. }
  167. ]
  168. },
  169. /* config.module.rule('fonts') */
  170. {
  171. test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/i,
  172. use: [
  173. {
  174. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_url-loader@2.3.0@url-loader/dist/cjs.js',
  175. options: {
  176. limit: 4096,
  177. fallback: {
  178. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_file-loader@4.3.0@file-loader/dist/cjs.js',
  179. options: {
  180. name: 'fonts/[name].[ext]'
  181. }
  182. }
  183. }
  184. }
  185. ]
  186. },
  187. /* config.module.rule('pug') */
  188. {
  189. test: /\.pug$/,
  190. oneOf: [
  191. /* config.module.rule('pug').rule('pug-vue') */
  192. {
  193. resourceQuery: /vue/,
  194. use: [
  195. {
  196. loader: 'pug-plain-loader'
  197. }
  198. ]
  199. },
  200. /* config.module.rule('pug').rule('pug-template') */
  201. {
  202. use: [
  203. {
  204. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_raw-loader@4.0.2@raw-loader/dist/cjs.js'
  205. },
  206. {
  207. loader: 'pug-plain-loader'
  208. }
  209. ]
  210. }
  211. ]
  212. },
  213. /* config.module.rule('css') */
  214. {
  215. test: /\.css$/,
  216. oneOf: [
  217. /* config.module.rule('css').rule('vue-modules') */
  218. {
  219. resourceQuery: /module/,
  220. use: [
  221. {
  222. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  223. options: {
  224. sourceMap: true,
  225. shadowMode: false
  226. }
  227. },
  228. {
  229. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  230. options: {
  231. sourceMap: true,
  232. importLoaders: 2,
  233. modules: {
  234. localIdentName: '[name]_[local]_[hash:base64:5]'
  235. }
  236. }
  237. },
  238. {
  239. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  240. options: {
  241. sourceMap: true
  242. }
  243. }
  244. ]
  245. },
  246. /* config.module.rule('css').rule('vue') */
  247. {
  248. resourceQuery: /\?vue/,
  249. use: [
  250. {
  251. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  252. options: {
  253. sourceMap: true,
  254. shadowMode: false
  255. }
  256. },
  257. {
  258. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  259. options: {
  260. sourceMap: true,
  261. importLoaders: 2
  262. }
  263. },
  264. {
  265. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  266. options: {
  267. sourceMap: true
  268. }
  269. }
  270. ]
  271. },
  272. /* config.module.rule('css').rule('normal-modules') */
  273. {
  274. test: /\.module\.\w+$/,
  275. use: [
  276. {
  277. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  278. options: {
  279. sourceMap: true,
  280. shadowMode: false
  281. }
  282. },
  283. {
  284. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  285. options: {
  286. sourceMap: true,
  287. importLoaders: 2,
  288. modules: {
  289. localIdentName: '[name]_[local]_[hash:base64:5]'
  290. }
  291. }
  292. },
  293. {
  294. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  295. options: {
  296. sourceMap: true
  297. }
  298. }
  299. ]
  300. },
  301. /* config.module.rule('css').rule('normal') */
  302. {
  303. use: [
  304. {
  305. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  306. options: {
  307. sourceMap: true,
  308. shadowMode: false
  309. }
  310. },
  311. {
  312. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  313. options: {
  314. sourceMap: true,
  315. importLoaders: 2
  316. }
  317. },
  318. {
  319. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  320. options: {
  321. sourceMap: true
  322. }
  323. }
  324. ]
  325. }
  326. ]
  327. },
  328. /* config.module.rule('postcss') */
  329. {
  330. test: /\.p(ost)?css$/,
  331. oneOf: [
  332. /* config.module.rule('postcss').rule('vue-modules') */
  333. {
  334. resourceQuery: /module/,
  335. use: [
  336. {
  337. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  338. options: {
  339. sourceMap: true,
  340. shadowMode: false
  341. }
  342. },
  343. {
  344. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  345. options: {
  346. sourceMap: true,
  347. importLoaders: 2,
  348. modules: {
  349. localIdentName: '[name]_[local]_[hash:base64:5]'
  350. }
  351. }
  352. },
  353. {
  354. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  355. options: {
  356. sourceMap: true
  357. }
  358. }
  359. ]
  360. },
  361. /* config.module.rule('postcss').rule('vue') */
  362. {
  363. resourceQuery: /\?vue/,
  364. use: [
  365. {
  366. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  367. options: {
  368. sourceMap: true,
  369. shadowMode: false
  370. }
  371. },
  372. {
  373. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  374. options: {
  375. sourceMap: true,
  376. importLoaders: 2
  377. }
  378. },
  379. {
  380. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  381. options: {
  382. sourceMap: true
  383. }
  384. }
  385. ]
  386. },
  387. /* config.module.rule('postcss').rule('normal-modules') */
  388. {
  389. test: /\.module\.\w+$/,
  390. use: [
  391. {
  392. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  393. options: {
  394. sourceMap: true,
  395. shadowMode: false
  396. }
  397. },
  398. {
  399. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  400. options: {
  401. sourceMap: true,
  402. importLoaders: 2,
  403. modules: {
  404. localIdentName: '[name]_[local]_[hash:base64:5]'
  405. }
  406. }
  407. },
  408. {
  409. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  410. options: {
  411. sourceMap: true
  412. }
  413. }
  414. ]
  415. },
  416. /* config.module.rule('postcss').rule('normal') */
  417. {
  418. use: [
  419. {
  420. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  421. options: {
  422. sourceMap: true,
  423. shadowMode: false
  424. }
  425. },
  426. {
  427. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  428. options: {
  429. sourceMap: true,
  430. importLoaders: 2
  431. }
  432. },
  433. {
  434. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  435. options: {
  436. sourceMap: true
  437. }
  438. }
  439. ]
  440. }
  441. ]
  442. },
  443. /* config.module.rule('scss') */
  444. {
  445. test: /\.scss$/,
  446. oneOf: [
  447. /* config.module.rule('scss').rule('vue-modules') */
  448. {
  449. resourceQuery: /module/,
  450. use: [
  451. {
  452. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  453. options: {
  454. sourceMap: true,
  455. shadowMode: false
  456. }
  457. },
  458. {
  459. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  460. options: {
  461. sourceMap: true,
  462. importLoaders: 2,
  463. modules: {
  464. localIdentName: '[name]_[local]_[hash:base64:5]'
  465. }
  466. }
  467. },
  468. {
  469. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  470. options: {
  471. sourceMap: true
  472. }
  473. },
  474. {
  475. loader: 'sass-loader',
  476. options: {
  477. sourceMap: true
  478. }
  479. }
  480. ]
  481. },
  482. /* config.module.rule('scss').rule('vue') */
  483. {
  484. resourceQuery: /\?vue/,
  485. use: [
  486. {
  487. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  488. options: {
  489. sourceMap: true,
  490. shadowMode: false
  491. }
  492. },
  493. {
  494. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  495. options: {
  496. sourceMap: true,
  497. importLoaders: 2
  498. }
  499. },
  500. {
  501. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  502. options: {
  503. sourceMap: true
  504. }
  505. },
  506. {
  507. loader: 'sass-loader',
  508. options: {
  509. sourceMap: true
  510. }
  511. }
  512. ]
  513. },
  514. /* config.module.rule('scss').rule('normal-modules') */
  515. {
  516. test: /\.module\.\w+$/,
  517. use: [
  518. {
  519. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  520. options: {
  521. sourceMap: true,
  522. shadowMode: false
  523. }
  524. },
  525. {
  526. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  527. options: {
  528. sourceMap: true,
  529. importLoaders: 2,
  530. modules: {
  531. localIdentName: '[name]_[local]_[hash:base64:5]'
  532. }
  533. }
  534. },
  535. {
  536. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  537. options: {
  538. sourceMap: true
  539. }
  540. },
  541. {
  542. loader: 'sass-loader',
  543. options: {
  544. sourceMap: true
  545. }
  546. }
  547. ]
  548. },
  549. /* config.module.rule('scss').rule('normal') */
  550. {
  551. use: [
  552. {
  553. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  554. options: {
  555. sourceMap: true,
  556. shadowMode: false
  557. }
  558. },
  559. {
  560. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  561. options: {
  562. sourceMap: true,
  563. importLoaders: 2
  564. }
  565. },
  566. {
  567. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  568. options: {
  569. sourceMap: true
  570. }
  571. },
  572. {
  573. loader: 'sass-loader',
  574. options: {
  575. sourceMap: true
  576. }
  577. }
  578. ]
  579. }
  580. ]
  581. },
  582. /* config.module.rule('sass') */
  583. {
  584. test: /\.sass$/,
  585. oneOf: [
  586. /* config.module.rule('sass').rule('vue-modules') */
  587. {
  588. resourceQuery: /module/,
  589. use: [
  590. {
  591. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  592. options: {
  593. sourceMap: true,
  594. shadowMode: false
  595. }
  596. },
  597. {
  598. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  599. options: {
  600. sourceMap: true,
  601. importLoaders: 2,
  602. modules: {
  603. localIdentName: '[name]_[local]_[hash:base64:5]'
  604. }
  605. }
  606. },
  607. {
  608. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  609. options: {
  610. sourceMap: true
  611. }
  612. },
  613. {
  614. loader: 'sass-loader',
  615. options: {
  616. sourceMap: true,
  617. sassOptions: {
  618. indentedSyntax: true
  619. }
  620. }
  621. }
  622. ]
  623. },
  624. /* config.module.rule('sass').rule('vue') */
  625. {
  626. resourceQuery: /\?vue/,
  627. use: [
  628. {
  629. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  630. options: {
  631. sourceMap: true,
  632. shadowMode: false
  633. }
  634. },
  635. {
  636. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  637. options: {
  638. sourceMap: true,
  639. importLoaders: 2
  640. }
  641. },
  642. {
  643. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  644. options: {
  645. sourceMap: true
  646. }
  647. },
  648. {
  649. loader: 'sass-loader',
  650. options: {
  651. sourceMap: true,
  652. sassOptions: {
  653. indentedSyntax: true
  654. }
  655. }
  656. }
  657. ]
  658. },
  659. /* config.module.rule('sass').rule('normal-modules') */
  660. {
  661. test: /\.module\.\w+$/,
  662. use: [
  663. {
  664. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  665. options: {
  666. sourceMap: true,
  667. shadowMode: false
  668. }
  669. },
  670. {
  671. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  672. options: {
  673. sourceMap: true,
  674. importLoaders: 2,
  675. modules: {
  676. localIdentName: '[name]_[local]_[hash:base64:5]'
  677. }
  678. }
  679. },
  680. {
  681. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  682. options: {
  683. sourceMap: true
  684. }
  685. },
  686. {
  687. loader: 'sass-loader',
  688. options: {
  689. sourceMap: true,
  690. sassOptions: {
  691. indentedSyntax: true
  692. }
  693. }
  694. }
  695. ]
  696. },
  697. /* config.module.rule('sass').rule('normal') */
  698. {
  699. use: [
  700. {
  701. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  702. options: {
  703. sourceMap: true,
  704. shadowMode: false
  705. }
  706. },
  707. {
  708. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  709. options: {
  710. sourceMap: true,
  711. importLoaders: 2
  712. }
  713. },
  714. {
  715. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  716. options: {
  717. sourceMap: true
  718. }
  719. },
  720. {
  721. loader: 'sass-loader',
  722. options: {
  723. sourceMap: true,
  724. sassOptions: {
  725. indentedSyntax: true
  726. }
  727. }
  728. }
  729. ]
  730. }
  731. ]
  732. },
  733. /* config.module.rule('less') */
  734. {
  735. test: /\.less$/,
  736. oneOf: [
  737. /* config.module.rule('less').rule('vue-modules') */
  738. {
  739. resourceQuery: /module/,
  740. use: [
  741. {
  742. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  743. options: {
  744. sourceMap: true,
  745. shadowMode: false
  746. }
  747. },
  748. {
  749. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  750. options: {
  751. sourceMap: true,
  752. importLoaders: 2,
  753. modules: {
  754. localIdentName: '[name]_[local]_[hash:base64:5]'
  755. }
  756. }
  757. },
  758. {
  759. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  760. options: {
  761. sourceMap: true
  762. }
  763. },
  764. {
  765. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js',
  766. options: {
  767. sourceMap: true,
  768. modifyVars: {
  769. 'border-radius-base': '2px',
  770. 'font-size-base': '12px',
  771. 'table-padding-vertical': '10px',
  772. 'table-padding-horizontal': '8px',
  773. 'form-item-margin-bottom': '8px',
  774. 'input-height-base': '28px',
  775. 'btn-height-base': '28px',
  776. 'btn-height-lg': ' 36px',
  777. 'btn-height-sm': '20px',
  778. 'padding-lg': '20px',
  779. 'padding-md': '12px',
  780. 'padding-sm': '8px',
  781. 'checkbox-size': '16px',
  782. 'switch-height': '18px',
  783. 'switch-sm-height': '14px',
  784. 'pagination-item-size': '28px',
  785. 'pagination-item-size-sm': '20px',
  786. 'modal-body-padding': '16px',
  787. 'drawer-header-padding': '12px 18px',
  788. 'drawer-body-padding': '18px',
  789. 'card-head-padding': ' 12px',
  790. 'card-inner-head-padding': '8px',
  791. 'card-padding-base': '18px',
  792. 'dropdown-vertical-padding': '4px',
  793. 'dropdown-edge-child-vertical-padding': '3px'
  794. },
  795. javascriptEnabled: true
  796. }
  797. }
  798. ]
  799. },
  800. /* config.module.rule('less').rule('vue') */
  801. {
  802. resourceQuery: /\?vue/,
  803. use: [
  804. {
  805. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  806. options: {
  807. sourceMap: true,
  808. shadowMode: false
  809. }
  810. },
  811. {
  812. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  813. options: {
  814. sourceMap: true,
  815. importLoaders: 2
  816. }
  817. },
  818. {
  819. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  820. options: {
  821. sourceMap: true
  822. }
  823. },
  824. {
  825. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js',
  826. options: {
  827. sourceMap: true,
  828. modifyVars: {
  829. 'border-radius-base': '2px',
  830. 'font-size-base': '12px',
  831. 'table-padding-vertical': '10px',
  832. 'table-padding-horizontal': '8px',
  833. 'form-item-margin-bottom': '8px',
  834. 'input-height-base': '28px',
  835. 'btn-height-base': '28px',
  836. 'btn-height-lg': ' 36px',
  837. 'btn-height-sm': '20px',
  838. 'padding-lg': '20px',
  839. 'padding-md': '12px',
  840. 'padding-sm': '8px',
  841. 'checkbox-size': '16px',
  842. 'switch-height': '18px',
  843. 'switch-sm-height': '14px',
  844. 'pagination-item-size': '28px',
  845. 'pagination-item-size-sm': '20px',
  846. 'modal-body-padding': '16px',
  847. 'drawer-header-padding': '12px 18px',
  848. 'drawer-body-padding': '18px',
  849. 'card-head-padding': ' 12px',
  850. 'card-inner-head-padding': '8px',
  851. 'card-padding-base': '18px',
  852. 'dropdown-vertical-padding': '4px',
  853. 'dropdown-edge-child-vertical-padding': '3px'
  854. },
  855. javascriptEnabled: true
  856. }
  857. }
  858. ]
  859. },
  860. /* config.module.rule('less').rule('normal-modules') */
  861. {
  862. test: /\.module\.\w+$/,
  863. use: [
  864. {
  865. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  866. options: {
  867. sourceMap: true,
  868. shadowMode: false
  869. }
  870. },
  871. {
  872. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  873. options: {
  874. sourceMap: true,
  875. importLoaders: 2,
  876. modules: {
  877. localIdentName: '[name]_[local]_[hash:base64:5]'
  878. }
  879. }
  880. },
  881. {
  882. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  883. options: {
  884. sourceMap: true
  885. }
  886. },
  887. {
  888. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js',
  889. options: {
  890. sourceMap: true,
  891. modifyVars: {
  892. 'border-radius-base': '2px',
  893. 'font-size-base': '12px',
  894. 'table-padding-vertical': '10px',
  895. 'table-padding-horizontal': '8px',
  896. 'form-item-margin-bottom': '8px',
  897. 'input-height-base': '28px',
  898. 'btn-height-base': '28px',
  899. 'btn-height-lg': ' 36px',
  900. 'btn-height-sm': '20px',
  901. 'padding-lg': '20px',
  902. 'padding-md': '12px',
  903. 'padding-sm': '8px',
  904. 'checkbox-size': '16px',
  905. 'switch-height': '18px',
  906. 'switch-sm-height': '14px',
  907. 'pagination-item-size': '28px',
  908. 'pagination-item-size-sm': '20px',
  909. 'modal-body-padding': '16px',
  910. 'drawer-header-padding': '12px 18px',
  911. 'drawer-body-padding': '18px',
  912. 'card-head-padding': ' 12px',
  913. 'card-inner-head-padding': '8px',
  914. 'card-padding-base': '18px',
  915. 'dropdown-vertical-padding': '4px',
  916. 'dropdown-edge-child-vertical-padding': '3px'
  917. },
  918. javascriptEnabled: true
  919. }
  920. }
  921. ]
  922. },
  923. /* config.module.rule('less').rule('normal') */
  924. {
  925. use: [
  926. {
  927. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  928. options: {
  929. sourceMap: true,
  930. shadowMode: false
  931. }
  932. },
  933. {
  934. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  935. options: {
  936. sourceMap: true,
  937. importLoaders: 2
  938. }
  939. },
  940. {
  941. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  942. options: {
  943. sourceMap: true
  944. }
  945. },
  946. {
  947. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js',
  948. options: {
  949. sourceMap: true,
  950. modifyVars: {
  951. 'border-radius-base': '2px',
  952. 'font-size-base': '12px',
  953. 'table-padding-vertical': '10px',
  954. 'table-padding-horizontal': '8px',
  955. 'form-item-margin-bottom': '8px',
  956. 'input-height-base': '28px',
  957. 'btn-height-base': '28px',
  958. 'btn-height-lg': ' 36px',
  959. 'btn-height-sm': '20px',
  960. 'padding-lg': '20px',
  961. 'padding-md': '12px',
  962. 'padding-sm': '8px',
  963. 'checkbox-size': '16px',
  964. 'switch-height': '18px',
  965. 'switch-sm-height': '14px',
  966. 'pagination-item-size': '28px',
  967. 'pagination-item-size-sm': '20px',
  968. 'modal-body-padding': '16px',
  969. 'drawer-header-padding': '12px 18px',
  970. 'drawer-body-padding': '18px',
  971. 'card-head-padding': ' 12px',
  972. 'card-inner-head-padding': '8px',
  973. 'card-padding-base': '18px',
  974. 'dropdown-vertical-padding': '4px',
  975. 'dropdown-edge-child-vertical-padding': '3px'
  976. },
  977. javascriptEnabled: true
  978. }
  979. }
  980. ]
  981. }
  982. ]
  983. },
  984. /* config.module.rule('stylus') */
  985. {
  986. test: /\.styl(us)?$/,
  987. oneOf: [
  988. /* config.module.rule('stylus').rule('vue-modules') */
  989. {
  990. resourceQuery: /module/,
  991. use: [
  992. {
  993. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  994. options: {
  995. sourceMap: true,
  996. shadowMode: false
  997. }
  998. },
  999. {
  1000. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  1001. options: {
  1002. sourceMap: true,
  1003. importLoaders: 2,
  1004. modules: {
  1005. localIdentName: '[name]_[local]_[hash:base64:5]'
  1006. }
  1007. }
  1008. },
  1009. {
  1010. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  1011. options: {
  1012. sourceMap: true
  1013. }
  1014. },
  1015. {
  1016. loader: 'stylus-loader',
  1017. options: {
  1018. sourceMap: true,
  1019. preferPathResolver: 'webpack'
  1020. }
  1021. }
  1022. ]
  1023. },
  1024. /* config.module.rule('stylus').rule('vue') */
  1025. {
  1026. resourceQuery: /\?vue/,
  1027. use: [
  1028. {
  1029. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  1030. options: {
  1031. sourceMap: true,
  1032. shadowMode: false
  1033. }
  1034. },
  1035. {
  1036. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  1037. options: {
  1038. sourceMap: true,
  1039. importLoaders: 2
  1040. }
  1041. },
  1042. {
  1043. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  1044. options: {
  1045. sourceMap: true
  1046. }
  1047. },
  1048. {
  1049. loader: 'stylus-loader',
  1050. options: {
  1051. sourceMap: true,
  1052. preferPathResolver: 'webpack'
  1053. }
  1054. }
  1055. ]
  1056. },
  1057. /* config.module.rule('stylus').rule('normal-modules') */
  1058. {
  1059. test: /\.module\.\w+$/,
  1060. use: [
  1061. {
  1062. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  1063. options: {
  1064. sourceMap: true,
  1065. shadowMode: false
  1066. }
  1067. },
  1068. {
  1069. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  1070. options: {
  1071. sourceMap: true,
  1072. importLoaders: 2,
  1073. modules: {
  1074. localIdentName: '[name]_[local]_[hash:base64:5]'
  1075. }
  1076. }
  1077. },
  1078. {
  1079. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  1080. options: {
  1081. sourceMap: true
  1082. }
  1083. },
  1084. {
  1085. loader: 'stylus-loader',
  1086. options: {
  1087. sourceMap: true,
  1088. preferPathResolver: 'webpack'
  1089. }
  1090. }
  1091. ]
  1092. },
  1093. /* config.module.rule('stylus').rule('normal') */
  1094. {
  1095. use: [
  1096. {
  1097. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_vue-style-loader@4.1.3@vue-style-loader/index.js',
  1098. options: {
  1099. sourceMap: true,
  1100. shadowMode: false
  1101. }
  1102. },
  1103. {
  1104. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_css-loader@3.6.0@css-loader/dist/cjs.js',
  1105. options: {
  1106. sourceMap: true,
  1107. importLoaders: 2
  1108. }
  1109. },
  1110. {
  1111. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js',
  1112. options: {
  1113. sourceMap: true
  1114. }
  1115. },
  1116. {
  1117. loader: 'stylus-loader',
  1118. options: {
  1119. sourceMap: true,
  1120. preferPathResolver: 'webpack'
  1121. }
  1122. }
  1123. ]
  1124. }
  1125. ]
  1126. },
  1127. /* config.module.rule('js') */
  1128. {
  1129. test: /\.m?jsx?$/,
  1130. exclude: [
  1131. function () { /* omitted long function */ }
  1132. ],
  1133. use: [
  1134. {
  1135. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js',
  1136. options: {
  1137. cacheDirectory: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/.cache/babel-loader',
  1138. cacheIdentifier: 'da826934'
  1139. }
  1140. },
  1141. {
  1142. loader: '/Users/coywoo/Documents/code/plg-tms-std-web/node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js'
  1143. }
  1144. ]
  1145. },
  1146. /* config.module.rule('jqhtml') */
  1147. {
  1148. test: /(.*(\/JQ_Page\/pages)+?.*).html$/,
  1149. use: [
  1150. {
  1151. loader: 'html-loader'
  1152. }
  1153. ]
  1154. }
  1155. ]
  1156. },
  1157. optimization: {
  1158. splitChunks: {
  1159. cacheGroups: {
  1160. vendors: {
  1161. name: 'chunk-vendors',
  1162. test: /[\\/]node_modules[\\/]/,
  1163. priority: -10,
  1164. chunks: 'initial'
  1165. },
  1166. common: {
  1167. name: 'chunk-common',
  1168. minChunks: 2,
  1169. priority: -20,
  1170. chunks: 'initial',
  1171. reuseExistingChunk: true
  1172. },
  1173. JQPage: {
  1174. name: 'JQPage',
  1175. priority: -100,
  1176. test: /(.*(\/JQ_Page\/js)+?.*).js$/
  1177. }
  1178. }
  1179. },
  1180. minimizer: [
  1181. {
  1182. options: {
  1183. test: /\.m?js(\?.*)?$/i,
  1184. chunkFilter: () => true,
  1185. warningsFilter: () => true,
  1186. extractComments: false,
  1187. sourceMap: true,
  1188. cache: true,
  1189. cacheKeys: defaultCacheKeys => defaultCacheKeys,
  1190. parallel: true,
  1191. include: undefined,
  1192. exclude: undefined,
  1193. minify: undefined,
  1194. terserOptions: {
  1195. output: {
  1196. comments: /^\**!|@preserve|@license|@cc_on/i
  1197. },
  1198. compress: {
  1199. arrows: false,
  1200. collapse_vars: false,
  1201. comparisons: false,
  1202. computed_props: false,
  1203. hoist_funs: false,
  1204. hoist_props: false,
  1205. hoist_vars: false,
  1206. inline: false,
  1207. loops: false,
  1208. negate_iife: false,
  1209. properties: false,
  1210. reduce_funcs: false,
  1211. reduce_vars: false,
  1212. switches: false,
  1213. toplevel: false,
  1214. typeofs: false,
  1215. booleans: true,
  1216. if_return: true,
  1217. sequences: true,
  1218. unused: true,
  1219. conditionals: true,
  1220. dead_code: true,
  1221. evaluate: true
  1222. },
  1223. mangle: {
  1224. safari10: true
  1225. }
  1226. }
  1227. }
  1228. }
  1229. ]
  1230. },
  1231. plugins: [
  1232. /* config.plugin('vue-loader') */
  1233. new VueLoaderPlugin(),
  1234. /* config.plugin('define') */
  1235. new DefinePlugin(
  1236. {
  1237. 'process.env': {
  1238. NODE_ENV: '"development"',
  1239. BASE_URL: '"/"'
  1240. }
  1241. }
  1242. ),
  1243. /* config.plugin('case-sensitive-paths') */
  1244. new CaseSensitivePathsPlugin(),
  1245. /* config.plugin('friendly-errors') */
  1246. new FriendlyErrorsWebpackPlugin(
  1247. {
  1248. additionalTransformers: [
  1249. function () { /* omitted long function */ }
  1250. ],
  1251. additionalFormatters: [
  1252. function () { /* omitted long function */ }
  1253. ]
  1254. }
  1255. ),
  1256. /* config.plugin('html') */
  1257. new HtmlWebpackPlugin(
  1258. {
  1259. title: 'TMS-UPCloud',
  1260. templateParameters: function () { /* omitted long function */ },
  1261. template: '/Users/coywoo/Documents/code/plg-tms-std-web/public/index.html',
  1262. scripts: [
  1263. '/tms/prologui/dist/vendors/jquery/jquery-3.3.1.min.js',
  1264. '/tms/prologui/dist/vendors/echarts/dist/echarts.js',
  1265. '/tms/prologui/dist/vendors/layui-master/dist/layui.all.js',
  1266. '/tms/prologui/dist/vendors/vipspa-master/build/vipspa.js',
  1267. '/tms/prologui/dist/vendors/dhtmlx/grid/codebase/dhtmlxgrid.js',
  1268. '/tms/prologui/dist/vendors/dhtmlx/form/codebase/dhtmlxform.js',
  1269. '/tms/prologui/dist/vendors/zTree_v3/js/jquery.ztree.core.min.js',
  1270. '/tms/prologui/dist/js/prolog.all-0.0.1.js',
  1271. '/tms/prologui/dist/vendors/zTree_v3/js/jquery.ztree.excheck.min.js',
  1272. '/tms/prologui/modules/cryptojs/crypto-js.js',
  1273. '/tms/prologui/modules/qrcode/qrcode.min.js',
  1274. '/tms/prologui/modules/viewer/js/viewer.min.js',
  1275. '//webapi.amap.com/maps?v=1.4.15&key=7a7f83315e1f4db61723b012737b7e30&plugin=AMap.Geocoder',
  1276. '//webapi.amap.com/ui/1.1/main.js',
  1277. '/tms/prologui/modules/qiankun@2.6.3/dist/index.umd.min.js',
  1278. '/tms/utils/prologutil.js'
  1279. ],
  1280. links: [
  1281. '/tms/prologui/dist/vendors/layui-master/dist/css/layui.rem.css',
  1282. '/tms/prologui/dist/css/prolog.all-0.0.1.css',
  1283. '/tms/css/auth.ext.css',
  1284. '//at.alicdn.com/t/font_799562_uwf89qp4mcf.css',
  1285. '/tms/prologui/modules/viewer/css/viewer.min.css'
  1286. ]
  1287. }
  1288. ),
  1289. /* config.plugin('preload') */
  1290. new PreloadPlugin(
  1291. {
  1292. rel: 'preload',
  1293. include: 'initial',
  1294. fileBlacklist: [
  1295. /\.map$/,
  1296. /hot-update\.js$/
  1297. ]
  1298. }
  1299. ),
  1300. /* config.plugin('copy') */
  1301. new CopyPlugin(
  1302. [
  1303. {
  1304. from: '/Users/coywoo/Documents/code/plg-tms-std-web/public',
  1305. to: '/Users/coywoo/Documents/code/plg-tms-std-web/dist',
  1306. toType: 'dir',
  1307. ignore: [
  1308. '.DS_Store',
  1309. {
  1310. glob: 'index.html',
  1311. matchBase: false
  1312. }
  1313. ]
  1314. }
  1315. ]
  1316. ),
  1317. {
  1318. options: {
  1319. resourceRegExp: /^\.\/locale$/,
  1320. contextRegExp: /moment$/
  1321. },
  1322. checkIgnore: function () { [native code] }
  1323. },
  1324. {
  1325. definitions: {
  1326. APP_VERSION: '"1.0.1"',
  1327. GIT_HASH: '"921d01c"',
  1328. BUILD_DATE: '"5/31/2022, 5:09:50 PM"'
  1329. }
  1330. },
  1331. {
  1332. options: {
  1333. languages: [
  1334. {
  1335. label: 'javascript',
  1336. entry: 'vs/basic-languages/javascript/javascript.contribution'
  1337. },
  1338. {
  1339. label: 'css',
  1340. entry: [
  1341. 'vs/basic-languages/css/css.contribution',
  1342. 'vs/language/css/monaco.contribution'
  1343. ],
  1344. worker: {
  1345. id: 'vs/language/css/cssWorker',
  1346. entry: 'vs/language/css/css.worker'
  1347. }
  1348. },
  1349. {
  1350. label: 'html',
  1351. entry: [
  1352. 'vs/basic-languages/html/html.contribution',
  1353. 'vs/language/html/monaco.contribution'
  1354. ],
  1355. worker: {
  1356. id: 'vs/language/html/htmlWorker',
  1357. entry: 'vs/language/html/html.worker'
  1358. }
  1359. },
  1360. {
  1361. label: 'json',
  1362. entry: 'vs/language/json/monaco.contribution',
  1363. worker: {
  1364. id: 'vs/language/json/jsonWorker',
  1365. entry: 'vs/language/json/json.worker'
  1366. }
  1367. },
  1368. {
  1369. label: 'sql',
  1370. entry: 'vs/basic-languages/sql/sql.contribution'
  1371. }
  1372. ],
  1373. features: [
  1374. {
  1375. label: 'coreCommands',
  1376. entry: 'vs/editor/browser/controller/coreCommands'
  1377. },
  1378. {
  1379. label: 'find',
  1380. entry: 'vs/editor/contrib/find/findController'
  1381. }
  1382. ],
  1383. filename: '[name].worker.js',
  1384. publicPath: '',
  1385. globalAPI: false
  1386. }
  1387. },
  1388. {
  1389. options: {
  1390. test: /\.(js|css)$/,
  1391. include: undefined,
  1392. exclude: undefined,
  1393. cache: true,
  1394. algorithm: 'gzip',
  1395. compressionOptions: {
  1396. level: 9
  1397. },
  1398. filename: '[path][base].gz',
  1399. threshold: 10240,
  1400. minRatio: 0.6,
  1401. deleteOriginalAssets: false
  1402. },
  1403. algorithm: function () { /* omitted long function */ }
  1404. },
  1405. {
  1406. handler: {
  1407. options: {
  1408. fileName: 'css/theme-colors-[contenthash:8].css',
  1409. matchColors: [
  1410. '#1890ff',
  1411. '#2f9bff',
  1412. '#46a6ff',
  1413. '#5db1ff',
  1414. '#74bcff',
  1415. '#8cc8ff',
  1416. '#a3d3ff',
  1417. '#badeff',
  1418. '#d1e9ff',
  1419. '#e6f7ff',
  1420. '#bae7ff',
  1421. '#91d5ff',
  1422. '#69c0ff',
  1423. '#40a9ff',
  1424. '#1890ff',
  1425. '#096dd9',
  1426. '#0050b3',
  1427. '#003a8c',
  1428. '#002766',
  1429. '24,144,255'
  1430. ],
  1431. isJsUgly: false,
  1432. configVar: 'tc_cfg_07733136315861389',
  1433. changeSelector: function () { /* omitted long function */ }
  1434. },
  1435. assetsExtractor: {
  1436. extractor: {
  1437. extractColors: function () { /* omitted long function */ },
  1438. getRules: function () { /* omitted long function */ },
  1439. testCssCode: function () { /* omitted long function */ }
  1440. },
  1441. extractAssets: function () { /* omitted long function */ },
  1442. extractToArray: function () { /* omitted long function */ },
  1443. extractAsset: function () { /* omitted long function */ }
  1444. }
  1445. }
  1446. },
  1447. {},
  1448. {
  1449. opts: {
  1450. analyzerMode: 'server',
  1451. analyzerHost: '127.0.0.1',
  1452. reportFilename: null,
  1453. reportTitle: function () { /* omitted long function */ },
  1454. defaultSizes: 'parsed',
  1455. openAnalyzer: true,
  1456. generateStatsFile: false,
  1457. statsFilename: 'stats.json',
  1458. statsOptions: null,
  1459. excludeAssets: null,
  1460. logLevel: 'info',
  1461. startAnalyzer: true,
  1462. analyzerPort: 8888
  1463. },
  1464. server: null,
  1465. logger: {
  1466. activeLevels: new Set([
  1467. 'info',
  1468. 'warn',
  1469. 'error',
  1470. 'silent'
  1471. ])
  1472. }
  1473. }
  1474. ],
  1475. entry: {
  1476. app: [
  1477. './src/main.js'
  1478. ]
  1479. },
  1480. externals: {}
  1481. }