ensure dart2js does not compile unsupported packages (#40368)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:io'; // ignore: unused_import
|
||||
|
||||
void main() { }
|
||||
12
dev/integration_tests/web_compile_tests/pubspec.yaml
Normal file
12
dev/integration_tests/web_compile_tests/pubspec.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
name: web_compile_tests
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
meta: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
|
||||
# PUBSPEC CHECKSUM: 1d3d
|
||||
12
dev/integration_tests/web_compile_tests/web/index.html
Normal file
12
dev/integration_tests/web_compile_tests/web/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
Use of this source code is governed by a BSD-style license that can be
|
||||
found in the LICENSE file. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello, World</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="main.dart.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user