mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
b647b3c2bb
* CFFA * CFFA multi-disk and write functionaliity. * Clean up multi-devices/partition behavior. * ProDOS WIP * Update against refactored codebase. * WIP * Wait until disks load, show progress. * Don't wait so long to boot floppies. * Forgot to save :|. * Credit.
42 lines
887 B
JavaScript
42 lines
887 B
JavaScript
const path = require('path');
|
|
|
|
module.exports =
|
|
{
|
|
devtool: 'source-map',
|
|
entry: {
|
|
main2: path.resolve('js/entry2.js'),
|
|
main2e: path.resolve('js/entry2e.js')
|
|
},
|
|
output: {
|
|
path: path.resolve('dist/'),
|
|
library: 'Apple2',
|
|
libraryExport: 'Apple2',
|
|
libraryTarget: 'var'
|
|
},
|
|
devServer: {
|
|
compress: true,
|
|
publicPath: '/dist/',
|
|
watchContentBase: true
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.2mg$/i,
|
|
use: [
|
|
{
|
|
loader: 'file-loader',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
test: /\.rom$/i,
|
|
use: [
|
|
{
|
|
loader: 'raw-loader',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|