Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const path = require('path')
const webpack = require('webpack')
const babelLoader = require('@skpm/builder/lib/utils/babelLoader').default({})
const PRODUCTION = process.env.NODE_ENV !== 'development'
const OUTPUT_PATH = path.resolve(__dirname, './build')
const ENTRIES = [
{ entry: './Source/index.ts', output: 'SketchAPI.js' },
{ entry: './Source/async/index.ts', output: 'SketchAPI_async.js' },
{
entry: './Source/data-supplier/index.ts',
output: 'SketchAPI_data-supplier.js',
},
{ entry: './Source/dom/index.js', output: 'SketchAPI_dom.js' },
{ entry: './Source/settings/index.ts', output: 'SketchAPI_settings.js' },
{ entry: './Source/ui/index.ts', output: 'SketchAPI_ui.js' },
]