blob: 26c3b11f1d518ff2bd17e439a960e1b018cd4175 [file]
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:data_assets/data_assets.dart';
import 'package:hooks/hooks.dart';
void main(List<String> args) async {
await build(args, (input, output) async {
await output.addDataAssetDirectories(
['assets'],
input: input,
routing: input.config.linkingEnabled
? ToLinkHook(input.packageName)
: const ToAppBundle(),
);
});
}