printify-node-api
Version:
A small API implementation to communicate with your printify shops
25 lines (23 loc) • 568 B
JavaScript
const path = require('path')
module.exports = () => {
return {
target: 'node',
entry: './src/index.js',
output: {
path: path.resolve(__dirname, './dist'),
filename: 'index.js',
library: {
type: 'commonjs2'
}
},
module: {
rules: [
{
loader: 'babel-loader',
test: /\.js$/,
exclude: [/node_modules/]
}
]
}
}
}