From 583eb04b541175035d6d452ca626a96ebf2b7437 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Jun 2020 08:37:26 +0200 Subject: Upgrade to angular 10 --- client/webpack/webpack.video-embed.js | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'client/webpack') diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index b6a1c4c05..83622a974 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -1,7 +1,6 @@ const helpers = require('./helpers') const path = require('path') -const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin const HtmlWebpackPlugin = require('html-webpack-plugin') const TerserPlugin = require('terser-webpack-plugin') const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') @@ -29,7 +28,7 @@ module.exports = function () { alias: { 'video.js$': path.resolve('node_modules/video.js/core.js'), '@root-helpers': path.resolve('src/root-helpers'), - '@shared': path.resolve('../shared') + '@shared/models': path.resolve('../shared/models'), } }, @@ -54,13 +53,12 @@ module.exports = function () { test: /\.ts$/, use: [ { - loader: 'awesome-typescript-loader', + loader: 'ts-loader', options: { - configFileName: 'tsconfig.json' + configFile: 'tsconfig.base.json' } } - ], - exclude: [/\.(spec|e2e)\.ts$/] + ] }, { @@ -75,12 +73,6 @@ module.exports = function () { importLoaders: 1 } }, - // { - // loader: 'resolve-url-loader', - // options: { - // debug: true - // } - // }, { loader: 'sass-loader', options: { @@ -135,8 +127,6 @@ module.exports = function () { } }), - new CheckerPlugin(), - new HtmlWebpackPlugin({ template: 'src/standalone/videos/embed.html', filename: 'embed.html', -- cgit v1.2.3