@warp-drive-mirror/build-config 0.0.0-alpha.46 • Public • Published 14 days ago
🛠️ @warp-drive-mirror/build-config
Enables providing a build config to optimize application assets
pnpm install @warp-drive-mirror/build-config
Tagged Releases
import { setConfig } from '@warp-drive-mirror/build-config' ;
setConfig ( app , __dirname , {
// ... options
} ) ;
In an ember-cli-build file that'll typically look like this:
const EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
module . exports = async function ( defaults ) {
const { setConfig } = await import ( '@warp-drive-mirror/build-config' ) ;
const app = new EmberApp ( defaults , { } ) ;
setConfig ( app , __dirname , {
// WarpDrive/EmberData settings go here (if any)
} ) ;
return app . toTree ( ) ;
} ;
Brought to you with ♥️ love by 🐹 Ember
<style type="text/css">
img.project-logo {
padding: 0 5em 1em 5em;
width: 100px;
border-bottom: 2px solid #0969da;
margin: 0 auto;
display: block;
}
details > summary {
font-size: 1.1rem;
line-height: 1rem;
margin-bottom: 1rem;
}
details {
font-size: 1rem;
}
details > summary strong {
display: inline-block;
padding: .2rem 0;
color: #000;
border-bottom: 3px solid #0969da;
}
details > details {
margin-left: 2rem;
}
details > details > summary {
font-size: 1rem;
line-height: 1rem;
margin-bottom: 1rem;
}
details > details > summary strong {
display: inline-block;
padding: .2rem 0;
color: #555;
border-bottom: 2px solid #555;
}
details > details {
font-size: .85rem;
}
@media (prefers-color-scheme: dark) {
details > summary strong {
color: #fff;
}
}
@media (prefers-color-scheme: dark) {
details > details > summary strong {
color: #afaba0;
border-bottom: 2px solid #afaba0;
}
}
</style>
Package Sidebar Install npm i @warp-drive-mirror/build-config
Downloads Weekly Downloads