mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
eddb9adc73
* Clean up Client Show * Working on Show Client menu action * working on client view permissions * Finishing up Client Statement View * Workig on client settings * add mix manifest * css for client settings * Client Settings * Working on Client Settings * Implement StartupCheck and static seeders * Implement cached statics in view composers * Working on client settings * Payment Terms * Working on Payment Terms View Composer * Payment Terms builder * Client Settings * refactor companies table * Refactor for company settings, move settings to json * Set object cast on settings column of Company table * Fixes for refactor of companies and clients table * Test * Client Settings Datamapper * Client Settings * Default client language * Client Settings * Working on client settings options * Client Settings * Settings Json serialization/deserialization handling
62 lines
1.8 KiB
JavaScript
Vendored
62 lines
1.8 KiB
JavaScript
Vendored
const mix = require('laravel-mix');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mix Asset Management
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Mix provides a clean, fluent API for defining some Webpack build steps
|
|
| for your Laravel application. By default, we are compiling the Sass
|
|
| file for the application as well as bundling up all the JS files.
|
|
|
|
|
*/
|
|
|
|
mix.webpackConfig({
|
|
resolve: {
|
|
extensions: ['.ts']
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
loader: 'ts-loader',
|
|
options: { appendTsSuffixTo: [/\.vue$/] },
|
|
exclude: /node_modules/,
|
|
}
|
|
]
|
|
}
|
|
});
|
|
|
|
mix.js('resources/js/src/client/client_show.ts', 'public/js');
|
|
mix.js('resources/js/src/client/client_edit.ts', 'public/js');
|
|
mix.js('resources/js/src/client/client_create.ts', 'public/js');
|
|
mix.js('resources/js/src/client/client_list.ts', 'public/js');
|
|
mix.js('resources/js/src/settings/localization.ts', 'public/js');
|
|
mix.js('node_modules/@coreui/coreui/dist/js/coreui.js', 'public/js');
|
|
|
|
/*
|
|
mix.scripts([
|
|
'js/src/bootstrap.js'
|
|
], 'public/js/ninja.js');
|
|
*/
|
|
|
|
mix.minify('public/js/ninja.js');
|
|
mix.minify('public/js/coreui.js');
|
|
mix.minify('public/js/client_show.js');
|
|
mix.minify('public/js/client_edit.js');
|
|
mix.minify('public/js/client_create.js');
|
|
mix.minify('public/js/client_list.js');
|
|
mix.minify('public/js/localization.js');
|
|
|
|
mix.styles([
|
|
'node_modules/@coreui/coreui/dist/css/coreui.css',
|
|
'node_modules/@coreui/icons/css/coreui-icons.css',
|
|
'node_modules/font-awesome/css/font-awesome.css'
|
|
], 'public/css/ninja.css');
|
|
|
|
mix.minify('public/css/ninja.css');
|
|
|
|
mix.copyDirectory('node_modules/font-awesome/fonts', 'public/fonts');
|
|
|
|
mix.version();
|