Metis portal provides a user-friendly frontend for the Metis API which is written in Vue.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1186 lines
36 KiB

4 years ago
  1. {
  2. mode: 'development',
  3. context: '/home/yigit/Projects/Metis/portal2',
  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: '/home/yigit/Projects/Metis/portal2/dist',
  15. filename: 'js/[name].js',
  16. publicPath: '/',
  17. chunkFilename: 'js/[name].js'
  18. },
  19. resolve: {
  20. alias: {
  21. '@': '/home/yigit/Projects/Metis/portal2/src',
  22. vue$: 'vue/dist/vue.runtime.esm.js'
  23. },
  24. extensions: [
  25. '.mjs',
  26. '.js',
  27. '.jsx',
  28. '.vue',
  29. '.json',
  30. '.wasm'
  31. ],
  32. modules: [
  33. 'node_modules',
  34. '/home/yigit/Projects/Metis/portal2/node_modules',
  35. '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules'
  36. ],
  37. plugins: [
  38. {
  39. apply: function nothing() {
  40. // ¯\_(ツ)_/¯
  41. },
  42. makePlugin: function () { /* omitted long function */ },
  43. moduleLoader: function () { /* omitted long function */ },
  44. topLevelLoader: {
  45. apply: function nothing() {
  46. // ¯\_(ツ)_/¯
  47. }
  48. },
  49. bind: function () { /* omitted long function */ },
  50. tsLoaderOptions: function () { /* omitted long function */ },
  51. forkTsCheckerOptions: function () { /* omitted long function */ }
  52. }
  53. ]
  54. },
  55. resolveLoader: {
  56. modules: [
  57. '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-plugin-babel/node_modules',
  58. 'node_modules',
  59. '/home/yigit/Projects/Metis/portal2/node_modules',
  60. '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules'
  61. ],
  62. plugins: [
  63. {
  64. apply: function nothing() {
  65. // ¯\_(ツ)_/¯
  66. }
  67. }
  68. ]
  69. },
  70. module: {
  71. noParse: /^(vue|vue-router|vuex|vuex-router-sync)$/,
  72. rules: [
  73. /* config.module.rule('vue') */
  74. {
  75. test: /\.vue$/,
  76. use: [
  77. {
  78. loader: '/home/yigit/Projects/Metis/portal2/node_modules/cache-loader/dist/cjs.js',
  79. options: {
  80. cacheDirectory: '/home/yigit/Projects/Metis/portal2/node_modules/.cache/vue-loader',
  81. cacheIdentifier: '390d93db'
  82. }
  83. },
  84. {
  85. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-loader/lib/index.js',
  86. options: {
  87. compilerOptions: {
  88. whitespace: 'condense'
  89. },
  90. cacheDirectory: '/home/yigit/Projects/Metis/portal2/node_modules/.cache/vue-loader',
  91. cacheIdentifier: '390d93db'
  92. }
  93. }
  94. ]
  95. },
  96. /* config.module.rule('images') */
  97. {
  98. test: /\.(png|jpe?g|gif|webp)(\?.*)?$/,
  99. use: [
  100. {
  101. loader: '/home/yigit/Projects/Metis/portal2/node_modules/url-loader/dist/cjs.js',
  102. options: {
  103. limit: 4096,
  104. fallback: {
  105. loader: '/home/yigit/Projects/Metis/portal2/node_modules/file-loader/dist/cjs.js',
  106. options: {
  107. name: 'img/[name].[hash:8].[ext]'
  108. }
  109. }
  110. }
  111. }
  112. ]
  113. },
  114. /* config.module.rule('svg') */
  115. {
  116. test: /\.(svg)(\?.*)?$/,
  117. use: [
  118. {
  119. loader: '/home/yigit/Projects/Metis/portal2/node_modules/file-loader/dist/cjs.js',
  120. options: {
  121. name: 'img/[name].[hash:8].[ext]'
  122. }
  123. }
  124. ]
  125. },
  126. /* config.module.rule('media') */
  127. {
  128. test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
  129. use: [
  130. {
  131. loader: '/home/yigit/Projects/Metis/portal2/node_modules/url-loader/dist/cjs.js',
  132. options: {
  133. limit: 4096,
  134. fallback: {
  135. loader: '/home/yigit/Projects/Metis/portal2/node_modules/file-loader/dist/cjs.js',
  136. options: {
  137. name: 'media/[name].[hash:8].[ext]'
  138. }
  139. }
  140. }
  141. }
  142. ]
  143. },
  144. /* config.module.rule('fonts') */
  145. {
  146. test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/i,
  147. use: [
  148. {
  149. loader: '/home/yigit/Projects/Metis/portal2/node_modules/url-loader/dist/cjs.js',
  150. options: {
  151. limit: 4096,
  152. fallback: {
  153. loader: '/home/yigit/Projects/Metis/portal2/node_modules/file-loader/dist/cjs.js',
  154. options: {
  155. name: 'fonts/[name].[hash:8].[ext]'
  156. }
  157. }
  158. }
  159. }
  160. ]
  161. },
  162. /* config.module.rule('pug') */
  163. {
  164. test: /\.pug$/,
  165. oneOf: [
  166. /* config.module.rule('pug').rule('pug-vue') */
  167. {
  168. resourceQuery: /vue/,
  169. use: [
  170. {
  171. loader: 'pug-plain-loader'
  172. }
  173. ]
  174. },
  175. /* config.module.rule('pug').rule('pug-template') */
  176. {
  177. use: [
  178. {
  179. loader: 'raw-loader'
  180. },
  181. {
  182. loader: 'pug-plain-loader'
  183. }
  184. ]
  185. }
  186. ]
  187. },
  188. /* config.module.rule('css') */
  189. {
  190. test: /\.css$/,
  191. oneOf: [
  192. /* config.module.rule('css').rule('vue-modules') */
  193. {
  194. resourceQuery: /module/,
  195. use: [
  196. {
  197. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  198. options: {
  199. sourceMap: false,
  200. shadowMode: false
  201. }
  202. },
  203. {
  204. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  205. options: {
  206. sourceMap: false,
  207. importLoaders: 2,
  208. modules: {
  209. localIdentName: '[name]_[local]_[hash:base64:5]'
  210. }
  211. }
  212. },
  213. {
  214. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  215. options: {
  216. sourceMap: false
  217. }
  218. }
  219. ]
  220. },
  221. /* config.module.rule('css').rule('vue') */
  222. {
  223. resourceQuery: /\?vue/,
  224. use: [
  225. {
  226. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  227. options: {
  228. sourceMap: false,
  229. shadowMode: false
  230. }
  231. },
  232. {
  233. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  234. options: {
  235. sourceMap: false,
  236. importLoaders: 2
  237. }
  238. },
  239. {
  240. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  241. options: {
  242. sourceMap: false
  243. }
  244. }
  245. ]
  246. },
  247. /* config.module.rule('css').rule('normal-modules') */
  248. {
  249. test: /\.module\.\w+$/,
  250. use: [
  251. {
  252. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  253. options: {
  254. sourceMap: false,
  255. shadowMode: false
  256. }
  257. },
  258. {
  259. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  260. options: {
  261. sourceMap: false,
  262. importLoaders: 2,
  263. modules: {
  264. localIdentName: '[name]_[local]_[hash:base64:5]'
  265. }
  266. }
  267. },
  268. {
  269. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  270. options: {
  271. sourceMap: false
  272. }
  273. }
  274. ]
  275. },
  276. /* config.module.rule('css').rule('normal') */
  277. {
  278. use: [
  279. {
  280. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  281. options: {
  282. sourceMap: false,
  283. shadowMode: false
  284. }
  285. },
  286. {
  287. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  288. options: {
  289. sourceMap: false,
  290. importLoaders: 2
  291. }
  292. },
  293. {
  294. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  295. options: {
  296. sourceMap: false
  297. }
  298. }
  299. ]
  300. }
  301. ]
  302. },
  303. /* config.module.rule('postcss') */
  304. {
  305. test: /\.p(ost)?css$/,
  306. oneOf: [
  307. /* config.module.rule('postcss').rule('vue-modules') */
  308. {
  309. resourceQuery: /module/,
  310. use: [
  311. {
  312. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  313. options: {
  314. sourceMap: false,
  315. shadowMode: false
  316. }
  317. },
  318. {
  319. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  320. options: {
  321. sourceMap: false,
  322. importLoaders: 2,
  323. modules: {
  324. localIdentName: '[name]_[local]_[hash:base64:5]'
  325. }
  326. }
  327. },
  328. {
  329. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  330. options: {
  331. sourceMap: false
  332. }
  333. }
  334. ]
  335. },
  336. /* config.module.rule('postcss').rule('vue') */
  337. {
  338. resourceQuery: /\?vue/,
  339. use: [
  340. {
  341. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  342. options: {
  343. sourceMap: false,
  344. shadowMode: false
  345. }
  346. },
  347. {
  348. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  349. options: {
  350. sourceMap: false,
  351. importLoaders: 2
  352. }
  353. },
  354. {
  355. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  356. options: {
  357. sourceMap: false
  358. }
  359. }
  360. ]
  361. },
  362. /* config.module.rule('postcss').rule('normal-modules') */
  363. {
  364. test: /\.module\.\w+$/,
  365. use: [
  366. {
  367. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  368. options: {
  369. sourceMap: false,
  370. shadowMode: false
  371. }
  372. },
  373. {
  374. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  375. options: {
  376. sourceMap: false,
  377. importLoaders: 2,
  378. modules: {
  379. localIdentName: '[name]_[local]_[hash:base64:5]'
  380. }
  381. }
  382. },
  383. {
  384. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  385. options: {
  386. sourceMap: false
  387. }
  388. }
  389. ]
  390. },
  391. /* config.module.rule('postcss').rule('normal') */
  392. {
  393. use: [
  394. {
  395. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  396. options: {
  397. sourceMap: false,
  398. shadowMode: false
  399. }
  400. },
  401. {
  402. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  403. options: {
  404. sourceMap: false,
  405. importLoaders: 2
  406. }
  407. },
  408. {
  409. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  410. options: {
  411. sourceMap: false
  412. }
  413. }
  414. ]
  415. }
  416. ]
  417. },
  418. /* config.module.rule('scss') */
  419. {
  420. test: /\.scss$/,
  421. oneOf: [
  422. /* config.module.rule('scss').rule('vue-modules') */
  423. {
  424. resourceQuery: /module/,
  425. use: [
  426. {
  427. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  428. options: {
  429. sourceMap: false,
  430. shadowMode: false
  431. }
  432. },
  433. {
  434. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  435. options: {
  436. sourceMap: false,
  437. importLoaders: 2,
  438. modules: {
  439. localIdentName: '[name]_[local]_[hash:base64:5]'
  440. }
  441. }
  442. },
  443. {
  444. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  445. options: {
  446. sourceMap: false
  447. }
  448. },
  449. {
  450. loader: 'sass-loader',
  451. options: {
  452. sourceMap: false
  453. }
  454. }
  455. ]
  456. },
  457. /* config.module.rule('scss').rule('vue') */
  458. {
  459. resourceQuery: /\?vue/,
  460. use: [
  461. {
  462. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  463. options: {
  464. sourceMap: false,
  465. shadowMode: false
  466. }
  467. },
  468. {
  469. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  470. options: {
  471. sourceMap: false,
  472. importLoaders: 2
  473. }
  474. },
  475. {
  476. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  477. options: {
  478. sourceMap: false
  479. }
  480. },
  481. {
  482. loader: 'sass-loader',
  483. options: {
  484. sourceMap: false
  485. }
  486. }
  487. ]
  488. },
  489. /* config.module.rule('scss').rule('normal-modules') */
  490. {
  491. test: /\.module\.\w+$/,
  492. use: [
  493. {
  494. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  495. options: {
  496. sourceMap: false,
  497. shadowMode: false
  498. }
  499. },
  500. {
  501. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  502. options: {
  503. sourceMap: false,
  504. importLoaders: 2,
  505. modules: {
  506. localIdentName: '[name]_[local]_[hash:base64:5]'
  507. }
  508. }
  509. },
  510. {
  511. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  512. options: {
  513. sourceMap: false
  514. }
  515. },
  516. {
  517. loader: 'sass-loader',
  518. options: {
  519. sourceMap: false
  520. }
  521. }
  522. ]
  523. },
  524. /* config.module.rule('scss').rule('normal') */
  525. {
  526. use: [
  527. {
  528. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  529. options: {
  530. sourceMap: false,
  531. shadowMode: false
  532. }
  533. },
  534. {
  535. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  536. options: {
  537. sourceMap: false,
  538. importLoaders: 2
  539. }
  540. },
  541. {
  542. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  543. options: {
  544. sourceMap: false
  545. }
  546. },
  547. {
  548. loader: 'sass-loader',
  549. options: {
  550. sourceMap: false
  551. }
  552. }
  553. ]
  554. }
  555. ]
  556. },
  557. /* config.module.rule('sass') */
  558. {
  559. test: /\.sass$/,
  560. oneOf: [
  561. /* config.module.rule('sass').rule('vue-modules') */
  562. {
  563. resourceQuery: /module/,
  564. use: [
  565. {
  566. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  567. options: {
  568. sourceMap: false,
  569. shadowMode: false
  570. }
  571. },
  572. {
  573. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  574. options: {
  575. sourceMap: false,
  576. importLoaders: 2,
  577. modules: {
  578. localIdentName: '[name]_[local]_[hash:base64:5]'
  579. }
  580. }
  581. },
  582. {
  583. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  584. options: {
  585. sourceMap: false
  586. }
  587. },
  588. {
  589. loader: 'sass-loader',
  590. options: {
  591. sourceMap: false,
  592. sassOptions: {
  593. indentedSyntax: true
  594. }
  595. }
  596. }
  597. ]
  598. },
  599. /* config.module.rule('sass').rule('vue') */
  600. {
  601. resourceQuery: /\?vue/,
  602. use: [
  603. {
  604. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  605. options: {
  606. sourceMap: false,
  607. shadowMode: false
  608. }
  609. },
  610. {
  611. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  612. options: {
  613. sourceMap: false,
  614. importLoaders: 2
  615. }
  616. },
  617. {
  618. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  619. options: {
  620. sourceMap: false
  621. }
  622. },
  623. {
  624. loader: 'sass-loader',
  625. options: {
  626. sourceMap: false,
  627. sassOptions: {
  628. indentedSyntax: true
  629. }
  630. }
  631. }
  632. ]
  633. },
  634. /* config.module.rule('sass').rule('normal-modules') */
  635. {
  636. test: /\.module\.\w+$/,
  637. use: [
  638. {
  639. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  640. options: {
  641. sourceMap: false,
  642. shadowMode: false
  643. }
  644. },
  645. {
  646. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  647. options: {
  648. sourceMap: false,
  649. importLoaders: 2,
  650. modules: {
  651. localIdentName: '[name]_[local]_[hash:base64:5]'
  652. }
  653. }
  654. },
  655. {
  656. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  657. options: {
  658. sourceMap: false
  659. }
  660. },
  661. {
  662. loader: 'sass-loader',
  663. options: {
  664. sourceMap: false,
  665. sassOptions: {
  666. indentedSyntax: true
  667. }
  668. }
  669. }
  670. ]
  671. },
  672. /* config.module.rule('sass').rule('normal') */
  673. {
  674. use: [
  675. {
  676. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  677. options: {
  678. sourceMap: false,
  679. shadowMode: false
  680. }
  681. },
  682. {
  683. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  684. options: {
  685. sourceMap: false,
  686. importLoaders: 2
  687. }
  688. },
  689. {
  690. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  691. options: {
  692. sourceMap: false
  693. }
  694. },
  695. {
  696. loader: 'sass-loader',
  697. options: {
  698. sourceMap: false,
  699. sassOptions: {
  700. indentedSyntax: true
  701. }
  702. }
  703. }
  704. ]
  705. }
  706. ]
  707. },
  708. /* config.module.rule('less') */
  709. {
  710. test: /\.less$/,
  711. oneOf: [
  712. /* config.module.rule('less').rule('vue-modules') */
  713. {
  714. resourceQuery: /module/,
  715. use: [
  716. {
  717. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  718. options: {
  719. sourceMap: false,
  720. shadowMode: false
  721. }
  722. },
  723. {
  724. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  725. options: {
  726. sourceMap: false,
  727. importLoaders: 2,
  728. modules: {
  729. localIdentName: '[name]_[local]_[hash:base64:5]'
  730. }
  731. }
  732. },
  733. {
  734. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  735. options: {
  736. sourceMap: false
  737. }
  738. },
  739. {
  740. loader: 'less-loader',
  741. options: {
  742. sourceMap: false
  743. }
  744. }
  745. ]
  746. },
  747. /* config.module.rule('less').rule('vue') */
  748. {
  749. resourceQuery: /\?vue/,
  750. use: [
  751. {
  752. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  753. options: {
  754. sourceMap: false,
  755. shadowMode: false
  756. }
  757. },
  758. {
  759. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  760. options: {
  761. sourceMap: false,
  762. importLoaders: 2
  763. }
  764. },
  765. {
  766. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  767. options: {
  768. sourceMap: false
  769. }
  770. },
  771. {
  772. loader: 'less-loader',
  773. options: {
  774. sourceMap: false
  775. }
  776. }
  777. ]
  778. },
  779. /* config.module.rule('less').rule('normal-modules') */
  780. {
  781. test: /\.module\.\w+$/,
  782. use: [
  783. {
  784. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  785. options: {
  786. sourceMap: false,
  787. shadowMode: false
  788. }
  789. },
  790. {
  791. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  792. options: {
  793. sourceMap: false,
  794. importLoaders: 2,
  795. modules: {
  796. localIdentName: '[name]_[local]_[hash:base64:5]'
  797. }
  798. }
  799. },
  800. {
  801. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  802. options: {
  803. sourceMap: false
  804. }
  805. },
  806. {
  807. loader: 'less-loader',
  808. options: {
  809. sourceMap: false
  810. }
  811. }
  812. ]
  813. },
  814. /* config.module.rule('less').rule('normal') */
  815. {
  816. use: [
  817. {
  818. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  819. options: {
  820. sourceMap: false,
  821. shadowMode: false
  822. }
  823. },
  824. {
  825. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  826. options: {
  827. sourceMap: false,
  828. importLoaders: 2
  829. }
  830. },
  831. {
  832. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  833. options: {
  834. sourceMap: false
  835. }
  836. },
  837. {
  838. loader: 'less-loader',
  839. options: {
  840. sourceMap: false
  841. }
  842. }
  843. ]
  844. }
  845. ]
  846. },
  847. /* config.module.rule('stylus') */
  848. {
  849. test: /\.styl(us)?$/,
  850. oneOf: [
  851. /* config.module.rule('stylus').rule('vue-modules') */
  852. {
  853. resourceQuery: /module/,
  854. use: [
  855. {
  856. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  857. options: {
  858. sourceMap: false,
  859. shadowMode: false
  860. }
  861. },
  862. {
  863. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  864. options: {
  865. sourceMap: false,
  866. importLoaders: 2,
  867. modules: {
  868. localIdentName: '[name]_[local]_[hash:base64:5]'
  869. }
  870. }
  871. },
  872. {
  873. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  874. options: {
  875. sourceMap: false
  876. }
  877. },
  878. {
  879. loader: 'stylus-loader',
  880. options: {
  881. sourceMap: false,
  882. preferPathResolver: 'webpack'
  883. }
  884. }
  885. ]
  886. },
  887. /* config.module.rule('stylus').rule('vue') */
  888. {
  889. resourceQuery: /\?vue/,
  890. use: [
  891. {
  892. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  893. options: {
  894. sourceMap: false,
  895. shadowMode: false
  896. }
  897. },
  898. {
  899. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  900. options: {
  901. sourceMap: false,
  902. importLoaders: 2
  903. }
  904. },
  905. {
  906. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  907. options: {
  908. sourceMap: false
  909. }
  910. },
  911. {
  912. loader: 'stylus-loader',
  913. options: {
  914. sourceMap: false,
  915. preferPathResolver: 'webpack'
  916. }
  917. }
  918. ]
  919. },
  920. /* config.module.rule('stylus').rule('normal-modules') */
  921. {
  922. test: /\.module\.\w+$/,
  923. use: [
  924. {
  925. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  926. options: {
  927. sourceMap: false,
  928. shadowMode: false
  929. }
  930. },
  931. {
  932. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  933. options: {
  934. sourceMap: false,
  935. importLoaders: 2,
  936. modules: {
  937. localIdentName: '[name]_[local]_[hash:base64:5]'
  938. }
  939. }
  940. },
  941. {
  942. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  943. options: {
  944. sourceMap: false
  945. }
  946. },
  947. {
  948. loader: 'stylus-loader',
  949. options: {
  950. sourceMap: false,
  951. preferPathResolver: 'webpack'
  952. }
  953. }
  954. ]
  955. },
  956. /* config.module.rule('stylus').rule('normal') */
  957. {
  958. use: [
  959. {
  960. loader: '/home/yigit/Projects/Metis/portal2/node_modules/vue-style-loader/index.js',
  961. options: {
  962. sourceMap: false,
  963. shadowMode: false
  964. }
  965. },
  966. {
  967. loader: '/home/yigit/Projects/Metis/portal2/node_modules/css-loader/dist/cjs.js',
  968. options: {
  969. sourceMap: false,
  970. importLoaders: 2
  971. }
  972. },
  973. {
  974. loader: '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js',
  975. options: {
  976. sourceMap: false
  977. }
  978. },
  979. {
  980. loader: 'stylus-loader',
  981. options: {
  982. sourceMap: false,
  983. preferPathResolver: 'webpack'
  984. }
  985. }
  986. ]
  987. }
  988. ]
  989. },
  990. /* config.module.rule('js') */
  991. {
  992. test: /\.m?jsx?$/,
  993. exclude: [
  994. function () { /* omitted long function */ }
  995. ],
  996. use: [
  997. {
  998. loader: '/home/yigit/Projects/Metis/portal2/node_modules/cache-loader/dist/cjs.js',
  999. options: {
  1000. cacheDirectory: '/home/yigit/Projects/Metis/portal2/node_modules/.cache/babel-loader',
  1001. cacheIdentifier: '745bbfb7'
  1002. }
  1003. },
  1004. {
  1005. loader: '/home/yigit/Projects/Metis/portal2/node_modules/babel-loader/lib/index.js'
  1006. }
  1007. ]
  1008. },
  1009. /* config.module.rule('eslint') */
  1010. {
  1011. enforce: 'pre',
  1012. test: /\.(vue|(j|t)sx?)$/,
  1013. exclude: [
  1014. /node_modules/,
  1015. '/home/yigit/Projects/Metis/portal2/node_modules/@vue/cli-service/lib'
  1016. ],
  1017. use: [
  1018. {
  1019. loader: '/home/yigit/Projects/Metis/portal2/node_modules/eslint-loader/index.js',
  1020. options: {
  1021. extensions: [
  1022. '.js',
  1023. '.jsx',
  1024. '.vue'
  1025. ],
  1026. cache: true,
  1027. cacheIdentifier: 'a7308e14',
  1028. emitWarning: false,
  1029. emitError: false,
  1030. eslintPath: '/home/yigit/Projects/Metis/portal2/node_modules/eslint',
  1031. formatter: undefined
  1032. }
  1033. }
  1034. ]
  1035. }
  1036. ]
  1037. },
  1038. optimization: {
  1039. splitChunks: {
  1040. cacheGroups: {
  1041. vendors: {
  1042. name: 'chunk-vendors',
  1043. test: /[\\/]node_modules[\\/]/,
  1044. priority: -10,
  1045. chunks: 'initial'
  1046. },
  1047. common: {
  1048. name: 'chunk-common',
  1049. minChunks: 2,
  1050. priority: -20,
  1051. chunks: 'initial',
  1052. reuseExistingChunk: true
  1053. }
  1054. }
  1055. },
  1056. minimizer: [
  1057. {
  1058. options: {
  1059. test: /\.m?js(\?.*)?$/i,
  1060. chunkFilter: () => true,
  1061. warningsFilter: () => true,
  1062. extractComments: false,
  1063. sourceMap: true,
  1064. cache: true,
  1065. cacheKeys: defaultCacheKeys => defaultCacheKeys,
  1066. parallel: true,
  1067. include: undefined,
  1068. exclude: undefined,
  1069. minify: undefined,
  1070. terserOptions: {
  1071. compress: {
  1072. arrows: false,
  1073. collapse_vars: false,
  1074. comparisons: false,
  1075. computed_props: false,
  1076. hoist_funs: false,
  1077. hoist_props: false,
  1078. hoist_vars: false,
  1079. inline: false,
  1080. loops: false,
  1081. negate_iife: false,
  1082. properties: false,
  1083. reduce_funcs: false,
  1084. reduce_vars: false,
  1085. switches: false,
  1086. toplevel: false,
  1087. typeofs: false,
  1088. booleans: true,
  1089. if_return: true,
  1090. sequences: true,
  1091. unused: true,
  1092. conditionals: true,
  1093. dead_code: true,
  1094. evaluate: true
  1095. },
  1096. mangle: {
  1097. safari10: true
  1098. }
  1099. }
  1100. }
  1101. }
  1102. ]
  1103. },
  1104. plugins: [
  1105. /* config.plugin('vue-loader') */
  1106. new VueLoaderPlugin(),
  1107. /* config.plugin('define') */
  1108. new DefinePlugin(
  1109. {
  1110. 'process.env': {
  1111. NODE_ENV: '"development"',
  1112. BASE_URL: '"/"'
  1113. }
  1114. }
  1115. ),
  1116. /* config.plugin('case-sensitive-paths') */
  1117. new CaseSensitivePathsPlugin(),
  1118. /* config.plugin('friendly-errors') */
  1119. new FriendlyErrorsWebpackPlugin(
  1120. {
  1121. additionalTransformers: [
  1122. function () { /* omitted long function */ }
  1123. ],
  1124. additionalFormatters: [
  1125. function () { /* omitted long function */ }
  1126. ]
  1127. }
  1128. ),
  1129. /* config.plugin('html') */
  1130. new HtmlWebpackPlugin(
  1131. {
  1132. title: 'portal',
  1133. templateParameters: function () { /* omitted long function */ },
  1134. template: '/home/yigit/Projects/Metis/portal2/public/index.html'
  1135. }
  1136. ),
  1137. /* config.plugin('preload') */
  1138. new PreloadPlugin(
  1139. {
  1140. rel: 'preload',
  1141. include: 'initial',
  1142. fileBlacklist: [
  1143. /\.map$/,
  1144. /hot-update\.js$/
  1145. ]
  1146. }
  1147. ),
  1148. /* config.plugin('prefetch') */
  1149. new PreloadPlugin(
  1150. {
  1151. rel: 'prefetch',
  1152. include: 'asyncChunks'
  1153. }
  1154. ),
  1155. /* config.plugin('copy') */
  1156. new CopyPlugin(
  1157. [
  1158. {
  1159. from: '/home/yigit/Projects/Metis/portal2/public',
  1160. to: '/home/yigit/Projects/Metis/portal2/dist',
  1161. toType: 'dir',
  1162. ignore: [
  1163. '.DS_Store',
  1164. {
  1165. glob: 'index.html',
  1166. matchBase: false
  1167. }
  1168. ]
  1169. }
  1170. ]
  1171. ),
  1172. {
  1173. host: '127.0.0.1',
  1174. port: 9838,
  1175. includeAssets: [],
  1176. handler: null,
  1177. cleanup: function () { [native code] },
  1178. watching: false
  1179. }
  1180. ],
  1181. entry: {
  1182. app: [
  1183. './src/main.js'
  1184. ]
  1185. }
  1186. }