mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 23:08:13 -05:00
29 lines
684 B
CoffeeScript
29 lines
684 B
CoffeeScript
|
module.exports =
|
||
|
index:
|
||
|
files:
|
||
|
'index.js': 'index.coffee'
|
||
|
options:
|
||
|
transform: ['coffeeify']
|
||
|
exclude: ['bluebird', 'jsondiffpatch', 'omega-pac']
|
||
|
browserifyOptions:
|
||
|
extensions: '.coffee'
|
||
|
builtins: []
|
||
|
standalone: 'index.coffee'
|
||
|
debug: true
|
||
|
browser:
|
||
|
files:
|
||
|
'omega_target.min.js': 'index.coffee'
|
||
|
options:
|
||
|
alias: [
|
||
|
'./index.coffee:OmegaTarget'
|
||
|
]
|
||
|
transform: ['coffeeify']
|
||
|
plugin:
|
||
|
if process.env.BUILD == 'release'
|
||
|
[['minifyify', {map: false}]]
|
||
|
else
|
||
|
[]
|
||
|
browserifyOptions:
|
||
|
extensions: '.coffee'
|
||
|
standalone: 'OmegaTarget'
|