UNPKG

@protocolnebula/ts-openapi-generator

Version:

Build API and models from Swagger/OpenAPI to use in any project type

24 lines (22 loc) 433 B
const path = require('path'); module.exports = { entry: './src/index.ts', devtool: 'inline-source-map', mode: 'development', module: { rules: [ { test: /\.tsx?$/, use: 'ts-loader', exclude: /node_modules/, }, ], }, resolve: { extensions: [ '.tsx', '.ts', '.js' ], }, output: { filename: 'content.js', path: path.resolve(__dirname, '../plugin/build/'), }, };