mirror of
https://github.com/rumblefrog/setup-sp.git
synced 2024-11-24 10:09:07 +01:00
15e37fb7de
* Add a parser for plugin versions * Added webpack to bundle the files * Fix https to http redirect error
23 lines
No EOL
403 B
JavaScript
23 lines
No EOL
403 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './src/index.ts',
|
|
mode: "production",
|
|
target: 'node',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.tsx?$/,
|
|
use: 'ts-loader',
|
|
exclude: /node_modules/,
|
|
},
|
|
],
|
|
},
|
|
resolve: {
|
|
extensions: ['.tsx', '.ts', '.js'],
|
|
},
|
|
output: {
|
|
filename: 'index.js',
|
|
path: path.resolve(__dirname, 'lib'),
|
|
},
|
|
}; |