diff --git a/package.json b/package.json index 8fc64af..4154174 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,6 @@ "nyc": "^13.1.0", "rollup": "^0.67.3", "source-map-support": "^0.5.9", - "ts-loader": "^5.3.1", "ts-node": "^7.0.1", "tslint": "^5.11.0", "typedoc": "^0.13.0", diff --git a/webpack.common.js b/webpack.common.js index fc00627..46f5b59 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -5,17 +5,12 @@ const { paths } = require('./webpack.parts.js') module.exports = { entry: paths.entry, mode: 'none', - module: { - rules: [ - { test: /\.tsx?$/, loader: "ts-loader" } - ] - }, optimization: { minimize: true, noEmitOnErrors: true }, resolve: { - extensions: ['.js','.ts'], + extensions: ['.js'], modules: ['node_modules'], }, } diff --git a/webpack.parts.js b/webpack.parts.js index dc94126..796a5e0 100644 --- a/webpack.parts.js +++ b/webpack.parts.js @@ -9,7 +9,7 @@ const production = require('./webpack.production.js') const AddVendorsPlugin = require('./plugins/add-vendors-plugin') const paths = { - entry: path.resolve(__dirname, './src/squid.ts'), + entry: path.resolve(__dirname, './dist/node/squid.js'), bundle: path.resolve(__dirname, 'dist/browser'), }