From 49b5d5cd7e277dad7a3ffe34ee7f290b17410ecc Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Sun, 6 Sep 2020 21:50:24 -0400 Subject: [PATCH] updates --- LICENSE | 2 +- webpack.config.babel.js | 48 ------------------------------------ webpack.config.prod.babel.js | 8 ------ 3 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 webpack.config.babel.js delete mode 100644 webpack.config.prod.babel.js diff --git a/LICENSE b/LICENSE index bc7fb5fb..6efb1dc4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-present Evan Scott +Copyright (c) 2015-present Evan Jacobs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/webpack.config.babel.js b/webpack.config.babel.js deleted file mode 100644 index f9368115..00000000 --- a/webpack.config.babel.js +++ /dev/null @@ -1,48 +0,0 @@ -import path from 'path'; - -export default { - devServer: { - compress: true, - contentBase: path.resolve(__dirname, 'docs'), - }, - devtool: 'inline-source-map', - entry: path.resolve(__dirname, 'site.js'), - mode: 'development', - module: { - rules: [ - { - exclude: /(node_modules)/, - test: /\.js$/, - use: { - loader: 'babel-loader', - options: { - babelrc: false, - plugins: ['styled-components', 'transform-react-remove-prop-types'], - presets: [ - [ - 'env', - { - loose: true, - modules: false, - }, - ], - 'react', - 'stage-2', - ], - }, - }, - }, - ], - }, - output: { - filename: 'bundle.js', - path: path.resolve(__dirname, 'docs'), - }, - plugins: [], - resolve: { - alias: { - react: 'preact/compat', - 'react-dom': 'preact/compat', - }, - }, -}; diff --git a/webpack.config.prod.babel.js b/webpack.config.prod.babel.js deleted file mode 100644 index 48b45728..00000000 --- a/webpack.config.prod.babel.js +++ /dev/null @@ -1,8 +0,0 @@ -import config from './webpack.config.babel'; - -const releaseConfig = Object.assign({}, config); - -releaseConfig.devtool = 'none'; -releaseConfig.mode = 'production'; - -export default releaseConfig;